1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <stdio.h> int main() void fun( char *a ) { int i=0,k; while(a[i]=='*') i++; k=i; while(a[i]!='\0') { if(a[i]!='*') a[k++]=a[i]; i++; } a[k]='\0'; }
1 2 3
In function 'main': Line 4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token Line 15: error: expected '{' at end of input