+ 15
Does anyone have an explanation for the following output of the program :
#include<stdio.h> void main() { printf(6+"hello world\n"); } Output : world
5 Answers
+ 12
~swim~ Thank you
+ 4
Adding int 6 to the string hello world makes the pointer shift to its 6th position (including the space)
+ 3
6+"hello world" means increment the Pointer by 6 places. So your output is world