Question
C++ If the answers are correct i will give thumbsup 1. What is the output of each statement? a. cout <
C++ If the answers are correct i will give thumbsup
1. What is the output of each statement?
a. cout<<|<<5<<|;
b. cout<<|< c. cout<<|< d. cout<<|< e. cout<<|< f. cout<<|< g. cout<<|< d. cout<<|< 2.If PI has been declared as: const double PI = 3.14159, then the following statement: PI = 3.1 does what? a. causes an execution error b. causes a compile error c. causes a compile warning d. does not generate an error 3. If a and b are ints and a=4 and b=9, what value is assigned to a for each? Answer each part using the original values of 4 and 9. a. a = 3*b++; b. a= a+b; c. a++; d. a = a/b; e. a--; f. a= ++a+a; g. a=b%6
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started