#include <stdio.h> int main(void) { char val[]={'a','b'}; int i;+ i=val[0]; // your code goes here return 0; }
Standard input is empty
prog.c: In function ‘main’: prog.c:6:3: error: lvalue required as left operand of assignment i=val[0]; ^
Standard output is empty