Question
#include<stdio.h>
int main()
{
printf(5+"Good Morning\n");
return 0;
}
What will be the output of the program ?
#include<stdio.h>
int main()
{
printf(5+"Good Morning\n");
return 0;
}
Answer: Option D
Was this answer helpful ?
printf(5+"Good Morning`setminus`n"); It skips the 5 characters and prints the given string.
Hence the output is "Morning"
Was this answer helpful ?
Submit Solution