For Daily Free Study Material Join wiredfaculty Whatsapp Group | Download Android App | Ncert Book Download
Sponsor Area
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<Size1;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; } }