Question from the Language C - Fundamentals test

Print the 4th element of an array in C

Easy

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: Vincent CotroStatus: PublishedQuestion passed 122 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!