What is the output of this C code?
int main()
{
printf("C programming %s", "Class by\n%s AllIndiaExams", "SUPER");
}
Answer: C
This program has only one %s within first double quotes, so it does not read the string “SUPER”.
The %s along with the AllIndiaExams is not read as a format modifier while new line character prints the new line.