C Pointer - C programming (MCQ) questions for Q. 27532

Q.  Which among the following is right?
- Published on 26 Feb 17

a. sizeof(struct stemp*) > sizeof(union utemp*) > sizeof(char *)
b. sizeof(struct stemp*) < sizeof(union utemp*) < sizeof(char *)
c. sizeof(struct stemp*) = sizeof(union utemp*) = sizeof(char *)
d. The order Depends on the compiler

ANSWER: sizeof(struct stemp*) = sizeof(union utemp*) = sizeof(char *)

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)