0

#include <stdio.h> int main() { printf("%d"+1, 123); printf("\n%d\n"); printf("%%d"); return 0; }

Need explanation for the output of program in c language Output comes d 123 %d

18th Aug 2017, 4:44 PM
SAURAV KUMAR
SAURAV KUMAR - avatar
3 Respuestas
18th Aug 2017, 6:38 PM
Manual
Manual - avatar
+ 3
you only passed one value the the int - decimal spectier printf("place_holder",value_given_to_placeholder); printf("%d",1984); outputs: 1984 printf("%d"); output: %d
18th Aug 2017, 6:43 PM
Manual
Manual - avatar
+ 3
Please do not forget, to give the best answer checkmark. To the user that best answers your question.
18th Aug 2017, 6:43 PM
Manual
Manual - avatar