#include <stdio.h> int * list = {5, 6, 4, 3, 1, 2}; int main(void) { return 0; }
Standard input is empty
prog.cpp:3: error: scalar object ‘list’ requires one element in initializer
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!