Good Morning
09:14 am

Sponsor Area

Sponsor Area

Question is

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;
	}
}

Mock Test Series

Sponsor Area

Sponsor Area

NCERT Book Store

NCERT Sample Papers

Entrance Exams Preparation