-
Short programm
Hi all,
first I want to tell that I have nothing in common with programming. However I got some task that part of it is short program written in C language:
Code:
int main()
{
printf(¨Hello girl¨);
return 0;
}
output: goodbye
#collapse
Could you be that kind and analyze what actually this code does?
Escpecially #collapse, cant find it in the Internet.
Cheers!
-
Hi, it should be
Code:
printf("Hello girl");
not
Code:
printf(¨Hello girl¨);
It should print "Hello girl" to the stdout. I don't get how come the output is "goodbye" and where did you get this "#collapse" preprocessor!