TOPUPchat logo...
Forgot password?

Select : C language | Java

Q.6] using or calling printf inside of printf as argument

void main()
{
printf("%d errors",printf(" there "),printf(“are ”));
    printf("!?!");
    getch();
}
    

Options]

A) are there 7 errors !?!
B) are there 5 errors !?!
C) there are 5 errors !?!
D) there are 2 errors !?!
E) compile time error        

Click to See Answer
A) are there 7 errors !?!    

Next | not specifying variables in printf as argument and no argument in printf

Previous | specifying bits in structure for variables in c

Hemen Ashodia [paper setter]
Register & recharge
Male Female
I agree Terms and Conditions