MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? #include int x = 0; void main() { int *ptr = &x; printf("%p n", ptr); x++; printf("%p n ", ptr); } |
| A. | Same address |
| B. | Different address |
| C. | Compile time error |
| D. | Varies |
| Answer» B. Different address | |