output of the following program mcq

#include<iostream.h>
void main()
{
char a[15]={"Examination"}, b[10]={"my"};
int i ,j;
for( j= 2 ,i = 5 ; a[i]!= '\0'; i++, j++)
{
b[j] = a[i] -32;
}
b[j] = '\0';
cout<<"\n"<<b;
}

a) MYnation
b) mynation
c) MYNATION
d) myNATION
Topic archived. No new replies allowed.