+ 2

I can also run and get result with this way output of hello world?

include<stdio.h> int main() { printf("hello world !\n"); return 0; }

2nd Apr 2017, 6:29 AM
Rakib
Rakib - avatar
1 Answer
+ 13
Yes you may. Note that this is, however, the C way of doing it. If you are going for C++ and want to use printf() function, while <stdio.h> is working, it is encouraged to use <cstdio> instead.
2nd Apr 2017, 6:32 AM
Hatsy Rei
Hatsy Rei - avatar