MCQ Answer

printf ("%d", printf ("infomax"));

printf ("%d", printf ("infomax"));

Topic : Introduction

A. results in a syntax error

B. output Infomax7

C. outputs garbage

D. outputs infomax and terminates abruptly




Correct Answer is :

B. output Infomax7



Explanation
printf statement will print infomax7, “infomax” due to inner printf statement and 7 as length due to outer printf statement.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz