Predict the output of the following code.
#include stdio.h
void main()
{
char a[5]={"navap"},b[5],i;
for(i=0;i=5;i++)
{
b[i]=a[5-i];
printf("%c",b[i]);
}
}

Posted on by