How could a cpp program run without having any header file (not even iostream and so)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How could a cpp program run without having any header file (not even iostream and so)?

I was typing a prog of printing hello on console without giving any header files. When i compiled the prog it showed me warnings but when i run the prog it showed the output. How is it possible to run a prof without giving any header files?

8th Jun 2017, 5:53 PM
Meet Singh
2 Answers
+ 1
I think it's not possible..
8th Jun 2017, 6:09 PM
Chaman Raghav
Chaman Raghav - avatar
0
I typed a prog and it was running on my system. But i don't know how?
8th Jun 2017, 6:12 PM
Meet Singh