MCQOPTIONS
Saved Bookmarks
| 1. |
Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} |
| A. | 3 |
| B. | 6 |
| C. | Garbage value |
| D. | Error |
| Answer» B. 6 | |