C++ Program - Find the output of cout
Find the output of following C++ program? #include #include void main() { char mystring[]="What @output!"; for (int i=0;mystring[i]!= '/0;i++) { if(!isalpha (mystring[i]) mystring[i]='*'; else if(isupper (mystring[i])) mystring[i]=mystring[i]+1; else mystring [i]=mystring[i+1]; } cout<
Answers
Answered by
0
this is the output...
Attachments:
Similar questions