True/False Questions for Loops in C Language

  • 1 A for loop is pre-test loop. True View Answer

  • 2 The output of the following program is 2048 for (k=2; k<=1024; k = k * 2) cout << k << endl; False View Answer

  • 3 The break statement is used in the body of the loop to exit from the loop. True View Answer

Contact Us
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert