MCQOPTIONS
Saved Bookmarks
| 1. |
What would be the output for the following Turbo C code?#includevoid main(){int a[]={ 1, 2, 3, 4, 5 }, *p;p=a;++*p;printf("%d ", *p);p += 2;printf("%d", *p);} |
| A. | 4 |
| B. | 4 |
| C. | 2 |
| D. | 3 |
| E. | 3 |
| Answer» E. 3 | |