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
What is ostream in c++?
Write syntax to define friend functions in C++.
What is c++ and its features?
What is a superclass in oop?
List different attributes in C++?
How is objective c different from c++?
What is object-oriented programming? Webopedia definition
Which is most difficult programming language?
What is flush programming?
Can we create object of abstract class?
What are different types of loops in c++?
What does iomanip mean in c++?
What's the hardest coding language?
Which is best ide for c++?
Can the creation of operator** is allowed to perform the to-the-power-of operations?