What will be the output of the -2 ?following C++ code #include using namespace std; int main () { int const p = 5; cout


What will be the output of the -2<br>?following C++ code<br>#include <iostream><br>using namespace std;<br>int main ()<br>{<br>int<br>const p = 5;<br>cout << ++p;<br>return 0;<br>a) 5<br>b) 6<br>c) Error<br>d) 8<br>

Extracted text: What will be the output of the -2 ?following C++ code #include using namespace std; int main () { int const p = 5; cout < ++p;="" return="" 0;="" a)="" 5="" b)="" 6="" c)="" error="" d)="">
1- int[] array;<br>2- double main-5.5%;<br>3- With break keyword, switch statement will continue within the switch block, executing the<br>statements in the next case sequence.<br>4- In pre-increment first increrment the value of variable and then used inside the expression.<br>5-Arrays is fixed size<br>6- Arrays have 1 as the first index.<br>F<br>T.<br>1<br>2<br>3<br>4<br>5<br>O O O<br>

Extracted text: 1- int[] array; 2- double main-5.5%; 3- With break keyword, switch statement will continue within the switch block, executing the statements in the next case sequence. 4- In pre-increment first increrment the value of variable and then used inside the expression. 5-Arrays is fixed size 6- Arrays have 1 as the first index. F T. 1 2 3 4 5 O O O

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here