#include <stdio.h>int array[5];int main(void) { array = {1,2,3,4,5}; printf("%d", array[3]);// your code goes here return 0;}
Standard input is empty
prog.c: In function ‘main’: prog.c:4:10: error: expected expression before ‘{’ token array = {1,2,3,4,5}; ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!