Computer Science, asked by chandanam0310, 11 months ago

what is the output?
#include
#include
int main()
{
char p[]="assignment";
char t;
int i,j;
for(i=0,j=strlen(p);i {
t=p[i];
p[i]=p[j-1];
p[j-1]=t;
}
printf("%s",p);
return 0;
}

Answers

Answered by monika2605
1
The output is assignment

chandanam0310: thank u soo much
monika2605: plz mark me brainlist
surbhi1713: hii
Answered by Akshat999
15
The output will show error... There sould be a +sign instead of ",".
Similar questions