Question:
Find and write the output of the following C++ program code:
Note: Assume all required header files are already included in theย program.
#define Big(A,B) (A>B)?A+1:B+2
void main()
{
char W[] = "Exam";
int L=strlen(W);
for(int i =0; i<L-1; i++)
W[i] = Big(W[i],W[i+1]);
cout<<W<<endl;
}
C. Sir| Created: 8-Jan-2019 | Updated: 22-Mar-2026|CBSE12D-2017
