ExamVeda
Login
Home
This question belongs to C Program Arrays And Strings
Arrays and Strings
?

What will be the output of the program?
#include<stdio.h>
void main()
{
    printf(5+"Good Morningn");
}

Answer & Solution
Correct Answer: Option D

printf(5+"Good Morning\n"); It skips the 5 characters and prints the given string.
Hence the output is "Morning".

Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.