Live quiz

C Programming - Part 45

Question 1 of 25 Hints left: 3
Q1

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
  • B
  • C
  • D