Share
Test your Coding Ability
ReportPoll
Please briefly explain why you feel this question should be reported .
What will be the output of the below program?
#include<stdio.h>
int main()
{
printf(“%d”, printf(“%d”, printf(“%d”, printf(“%s”, “Welcome to PlacementSeason”))));
return (0);
}
in progress
1
Aptitude
1 year
4 Answers
1577 views
1
Answers ( 4 )
Please briefly explain why you feel this answer should be reported .
Answer: D
Solution:
The program first prints the innermost printf(). i.e. Welcome to PlacementSeason . Then it prints number character successfully printed. i.e 26 . Then again it prints number character successfully printed. i.e 2. Then it prints number character successfully printed. i.e. 1
So, the answer is Welcome to PlacementSeason2621
Please briefly explain why you feel this answer should be reported .
Tricky One
Please briefly explain why you feel this answer should be reported .
D
Please briefly explain why you feel this answer should be reported .
B.000welcome to placement season