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
How can you tell what shell you are running on unix system?
How does the copy constructor differ from the assignment operator (=)?
Can recursive program be written in C++?
What is the best c++ book?
What is an operator in c++?
List the special characteristics of constructor.
Explain why C++ is not purely Object Oriented Language
What does ios :: app do in c++?
What are oops methods?
Difference between struct and class in terms of access modifier.
What is a function in oop?
What is the extraction operator and what does it do?
What is expression parser in c++
What are the advantages of using friend classes?
What is overriding vs overloading?