1.

What will be the output of the following C code?#include <stdio.h> int main() { int array1[5] = {10, 20, 30, 40, 50}; int array2[5] = {11, 21, 31, 41, 51}; int R = &array2[3] - &array1[2]; printf("%d n", R); }

A. -7
B. Compilation Error
C. Garbage value
D. 50
E. None of these
Answer» B. Compilation Error


Discussion

No Comment Found