Vidyalelo
C Programming · Q103

Control Structures

Programming · C Programming · question 103

Q103

What will be the output of the following C code? #include void main() int x = 0; if (x == 0) printf("hi"); else printf("how are u"); printf("hello");

A.
hi
B.
how are you
C.
hello
D.
hihello
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board