If there is one, point out an error in the program #include using namespace std;

If there is one, point out an error in the program #include using namespace std;
int main()
{ int c = ‘a’; switch(i) { case ‘2’: cout<<"OK"; case '1': cout<<"Error"; default: break; } return 0; } A. No Error
B. Use of undeclared identifier ‘i’
C. Illegal use of ‘continue’
D. Illegal use of ‘break’

Download Printable PDF. VALID exam to help you PASS.

Posted in: CPA

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.