Hello! Could anyone figure out what's wrong with the following code?
:Thanks!Code:#include <stdio.h> int main() { char s[]="raja"; char *t; t=s; printf("t=%d\ns=%d\n\n",t,s); while(*s!='\0') { *t=*s; printf("%c",*t); s++; //i get an error msg at this line "lvalue required as increment operand"// t++; } return 0; } :