MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? #include <stdio.h> int main() { typedef struct B *ptr; struct B { int num1; char num2; ptr ptr1; }; struct B b = {15, 25, &b}; printf("%d n", b.ptr1->num1); return 0; } |
| A. | 25 |
| B. | Compilation Error |
| C. | Garbage value |
| D. | 15 |
| E. | None of these |
| Answer» E. None of these | |