Computer Science, asked by ajayjayalal675, 11 months ago

Find and write the output of the following C++ program code:

typedef char STRING[80];

void MIXNOW(STRING S)

{

int Size=strlen(S);

for(int I=0;I<Size;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=”CBSEEXAM2019”;

MIXNOW(Word);

cout<<Word<<endl;

}​

Answers

Answered by faizafaizel08
0

Answer:

I didn't get it pls explain well

Similar questions