#include <stdio.h> int main(void) { int *intp; intp = {1,2,3,4,5}; //printf("%u",intp); printf("hello!!!"); //printf("%d", *intp); return 0;}
Standard input is empty
prog.c: In function ‘main’: prog.c:5:9: error: expected expression before ‘{’ token intp = {1,2,3,4,5}; ^ prog.c:4:7: warning: variable ‘intp’ set but not used [-Wunused-but-set-variable] int *intp; ^~~~
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!