Can anybody please explain me the output of following code
char *str="ABCDE" ;
printf(str,"%s \\n ");
printf("%s\\n",str);
O/P-
ABCDEABCDE\n
thanx in advance
Can anybody please explain me the output of following code
char *str="ABCDE" ;
printf(str,"%s \\n ");
printf("%s\\n",str);
O/P-
ABCDEABCDE\n
thanx in advance