aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C++ Based Questions
  • What is the value of a & b after the following two st...
Multiple choice

What is the value of a & b after the following two statements are executed? int a=10; int b=a++ * ++a;

  1. 132

  2. 110

  3. 120

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer

Keep practicing — related questions

  • Declare a number := 5; b number := null; c number := 10; Begin if a > b AND a < c then a := c * a; end if; ...
  • Declare a number := 5; b number := null; c number := 10; Begin if a > b AND a < c then a := c * a; end if; ...
  • What is the value of 'number' after the following code fragment execution? int number = 0; int number2 = 12...
  • What will be the value of “num” after the following statements? int num; num = (5+4); num = num / 9; num = 12;
  • What will be the value of “num” after the following statements? int num; num = (5+4); num = num / 9; num = 12;
  • What is the value of a? int a = 7; int b = 4; a = b; a = a + 1;
  • What will be the result of the expression a % b when a and b are of type int and their values are a = 10 an...
  • What are the values of NUM1 and NUM2 after executing the following code?
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy