Output Input Questions | Mohan Bishnoi | GeeksforGeeks C/CPP

preview_player
Показать описание


Follow us and stay updated on everything happening in the world of geeks:

#GFG #LearnC #learntocode #GFGCPP
Рекомендации по теме
Комментарии
Автор

I think the code may give Error as output. But u need to use "using namespace std"; below the header file. Or u need to writ" std::cout " in cout function. Although u are asking for the header file.ur explain is correct. But if u teaching in online. The code should be very clear and perfect. Because so many of like me were seeing the code and compiling as u written. So my kind request to maintain good code for explanation in online platform. 👍🏼.THANK YOU .

kkartheek
Автор

The answer is iostream.h but This code will generate an error "cout was not declared in the scope"
You also need to define the std namespace in this code

Zaryab.khan.Durrani
welcome to shbcf.ru