MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program ?_x000D_ #include_x000D_ _x000D_ void fun(void *p);_x000D_ int i;_x000D_ _x000D_ int main()_x000D_ {_x000D_ void *vptr;_x000D_ vptr = &i;_x000D_ fun(vptr);_x000D_ return 0;_x000D_ }_x000D_ void fun(void *p)_x000D_ {_x000D_ int **q;_x000D_ q = (int**)&p;_x000D_ printf("%d\n", **q);_x000D_ } |
| A. | Error: cannot convert from void** to int** |
| B. | Garbage value |
| C. | 0 |
| D. | No output |
| Answer» D. No output | |