adplus-dvertising
frame-decoration

Question

What is the output of this program?
void main()
{
    if(!printf(""))
        printf("hello");
    else
        printf("world");
}

a.

hello

b.

world

c.

Compilation Error

d.

None of the above

Posted under C Programming

Answer: (a).hello

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this program?