Question: i. Consider the following code: Int a=5,b=a++ -2; a)Explain what happened in above code? ii. Find errors in the following lines of code assuming included

 i. Consider the following code: Int a=5,b=a++ -2; a)Explain what happened

i. Consider the following code: Int a=5,b=a++ -2; a)Explain what happened in above code? ii. Find errors in the following lines of code assuming included header files. Write correct form with line number. 1. int main() 2. 3. Int a=4.5 4. Char ch='a' 5. Int a++; 6. Cout>a; 8. For(; a=5;) 9. Cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!