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
Is string part of stl?
Can we use pointers in c++?
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
What is the types of inheritance?
What does std mean in c++?
What is the difference between interpreters and compilers?
What do the keywords volatile and mean mutable?
Describe the different styles of function prototypes in C++.
Explain friend class?
what you know about c++?
Why is it necessary to use a reference in the argument to the copy constructor?
How do you print a string on the printer?
What flag means?
What is the difference between #import and #include in c++?
When can I use a forward declaration?