

Strings - Programming
Q1: What will be the output of the program ?
#include<stdio.h>
int main()
{
printf(5+"Good Morning\n");
return 0;
}
A Good Morning
B Good
C M
D Morning
ANS:D - Morning printf(5+"Good Morning\n"); It skips the 5 characters and prints the given string. Hence the output is "Morning" |


For help Students Orientation
Mcqs Questions
One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.