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's the order in which the local objects are destructed?
Explain class invariant.
Explain friend class?
How do you declare A pointer to function which receives an int pointer and returns a float pointer
Mention the ways in which parameterized can be invoked. Give an example of each.
What is std :: endl?
How does polymorphism work?
What does I ++ mean in c++?
What is the use of turbo c++?
How do you achieve polymorphism?
What is pointer in c++ with example?
Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?
what are the characteristics of Class Members in C++?
What is an adaptor class in c++?
Find the Factorial of a number using a program.