logo

Crowdly

Browser

Add to Chrome

int main() { char p[]="geeksquiz"; char t; int i,j; for(i=0,j=st...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

int main() {

char p[]="geeksquiz";

char t;

int i,j;

for(i=0,j=strlen(p);i!=j;i++,j--)

{

t=p[i];

p[i]=p[j-i];

p[j-i]=t;

}

printf("%s",p);

return 0;

}

Output?

More questions like this

Want instant access to all verified answers on lms.aub.edu.lb?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome