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 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
Get step-by-step solutions from verified subject matter experts
