Question:
Find and write the output of the following C++ program code:
Note: Assume all required header files are already included in theΒ program.
typedef char STRING[80];
void MIXITNOW(STRING S)
{
int Size=strlen(S);
for (int I=0;I<Size-1;I+=2)
{
char WS=S[I];
S[I]=S[I+1];
S[I+1]=WS;
}
for (I=1;I<Size;I+=2)
if (S[I]>='M' && S[I]<='U')
S[I]=β@β;
}
void main()
{
STRING Word="CRACKAJACK";
MIXITNOW(Word);
cout<<Word<<endl;
}
C. Sir| Created: 9-Jan-2019 | Updated: 22-Mar-2026|CBSE12D-2016
