Q1. Observe the following C++ code and write the name(s) of the header file(s), which will be essentially required to run it in a C++ compiler : void main() { char CH,STR[20]; cin>>STR; CH=toupper(STR[0]); cout<<STR<<”starts with”<<CH<<endl; } Q2. Rewrite the following C++ code after removing all the syntax error(s), if present in the code. Make sure that you underline each correction done by you in the code. ...
Computer Science and Informatics Practices Notes for Class XI & XII for Kendriya Vidyalaya AND CBSE SCHOOLS.