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;
}
What is data abstraction? How is it implemented in C++?
Can we call a virtual function from a constructor?
Can we provide one default constructor for our class?
Write a C++ Program to Display Number (Entered by the User).
What is the difference between member functions and static member functions?
Write a program to generate the Fibonocci Series in C++.
Write a C++ Program to find Square Root of a number using sqrt() function.
What is an abstract class in C++
0 Answers SwanSoft Technologies,
What is wrong with this statement? std::auto_ptr ptr(new char[10]);
Factory Method C++ – How to delete pointers returned by it
How do you write a function that can reverse a linked-list in C++?
Write a C++ Program to Find whether given Number is Odd or Even.