+ 2

How to print smile without graphics in c

28th Aug 2017, 4:10 AM
Ashtavinayak Sharma
Ashtavinayak Sharma - avatar
4 odpowiedzi
+ 10
#include <stdio.h> int main() { printf(":D"); return 0; }
28th Aug 2017, 4:32 AM
Hatsy Rei
Hatsy Rei - avatar
+ 8
@Ankit: Here is what the creator of c++ has to say on this matter. http://www.stroustrup.com/bs_faq2.html#void-main
28th Aug 2017, 5:10 AM
jay
jay - avatar
+ 3
#include <stdio.h> #include <conio.h> void main () { printf(":D"); getch(); }
28th Aug 2017, 4:48 AM
Ankit
Ankit - avatar
+ 1
@Hatsey int main () function & @Me void main () function. both is good try it out.
28th Aug 2017, 4:50 AM
Ankit
Ankit - avatar