Identify the error in the following program.
#include<iostream.h>
void main()
{
int i = 0;
i = i + 1;
cout « i « " ";
/*comment *//i = i + 1;
cout << i;
}
Post New Answer View All Answers
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
Why we use #include conio h in c++?
Write syntax to define friend functions in C++.
Please send ford technologies placement paper 2 my mail id
What is data abstraction? How is it implemented in C++?
Mention the ways in which parameterized can be invoked. Give an example of each.
Is c++ proprietary?
Get me a number puzzle game-program
How do you master coding?
What is overriding in oops?
Describe delete operator?
Do you know what are static and dynamic type checking?
What is the real time example of inheritance?
How do you compile the source code with your compiler?
We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?