int main(int argc, const char *argv[]) { argv[0][0] = 'X'; return 0;}
Standard input is empty
prog.c: In function ‘main’: prog.c:2:13: error: assignment of read-only location ‘**argv’ argv[0][0] = 'X'; ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!