Posts

Showing posts from May, 2016

HOLIDAY HOME WORK FOR CLASS XII B 2016-17 (SUMMER VACATION)

Image
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.                  ...