Vidyalelo
C Programming · Q43

Structure and Union

Programming · C Programming · question 43

Q43

What will be the output of the following C code? #include struct point int x; int y; ; int main() struct point p = 1; struct point p1 = 1; if(p == p1) printf("equal "); else printf("not equal ");

A.
Compile time error
Answer
B.
equal
C.
depends on the standard
D.
not equal

Answer: Option A

Solution

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