fork download
  1. #include <stdio.h>
  2. int array[5];
  3. int main(void) {
  4. array = {1,2,3,4,5};
  5. printf("%d", array[3]);// your code goes here
  6. return 0;
  7. }
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:4:10: error: expected expression before ‘{’ token
  array = {1,2,3,4,5};
          ^
stdout
Standard output is empty