Q1) True/False questions: Write T for true and F for false statement. If it is false, additionally write the reasor describing why it is false. 1- In C++ compiler, the variable name can be started...

NoneQ1) True/False questions: Write T for true and F for false statement. If it is false, additionally write the reasor<br>describing why it is false.<br>1- In C++ compiler, the variable name can be started with underscore.<br>2- In switch-case statement, the default statement is executed even when one of the case statements is<br>executed.<br>3- Do-While loop executes a block of statements at least one time.<br>4- Assignment operator is used to specify an initial value for a variable that cannot be changed during the<br>main program.<br>5- In Boolean representation, a nonzero value can be set as true.<br>Q2) Assume x=2, y=1 and z=2, write down the value of z after implementing the following statements:<br>1- Z*=x+y;<br>2- z= !(y>2)&&(y--);<br>3- z= 5+3%23;<br>4- z= (y=0) || (x=1/2);<br>5- z=++x - y++;<br>

Extracted text: Q1) True/False questions: Write T for true and F for false statement. If it is false, additionally write the reasor describing why it is false. 1- In C++ compiler, the variable name can be started with underscore. 2- In switch-case statement, the default statement is executed even when one of the case statements is executed. 3- Do-While loop executes a block of statements at least one time. 4- Assignment operator is used to specify an initial value for a variable that cannot be changed during the main program. 5- In Boolean representation, a nonzero value can be set as true. Q2) Assume x=2, y=1 and z=2, write down the value of z after implementing the following statements: 1- Z*=x+y; 2- z= !(y>2)&&(y--); 3- z= 5+3%23; 4- z= (y=0) || (x=1/2); 5- z=++x - y++;

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here