Question from the Language C - Fundamentals test

Print the 4th element of an array in C

Waiting for validation

What is the output of the following C code?

#include <stdio.h>

int main() {
  int arr[5] = {1, 2, 3, 4, 5};
  printf("%d", arr[3]);
  return 0;
}
Author: Delightful ZebraStatus: Waiting for validation(Update)Question not yet passed
0
Community EvaluationsNo one has reviewed this question yet, be the first!