1
8
Shubham
Hasil
Shubham
Ravi
Shikhar
Hasil
Jaiwant
Hasil
prog.c: In function 'main':
prog.c:17:16: error: subscripted value is neither array nor pointer nor vector
scanf("%s",ar[i].name);
^
prog.c:22:18: error: subscripted value is neither array nor pointer nor vector
strcpy(temp,ar[i].name);
^
In file included from /usr/include/string.h:635:0,
from prog.c:2:
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:23:16: error: subscripted value is neither array nor pointer nor vector
if(strcmp(ar[i].name,"ullu")!=0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:27:22: error: subscripted value is neither array nor pointer nor vector
if(strcmp(temp,ar[j].name)==0)
^
prog.c:29:15: error: subscripted value is neither array nor pointer nor vector
strcpy(ar[i].name,"ullu");
^