int main()
{
int i ,a[i];
i = 0;
a[i] = 10;
cout<< a[i] << endl;
return 0;
}
What will be output of this program?
Answers were Sorted based on User's Feedback
What does iomanip mean in c++?
How should runtime errors be handled in c++?
What is a driver program?
Can malloc be used in c++?
What is a local variable?
How do you establish a has-a relationship?
Is c++ primer good for beginners?
Which function cannot be overloaded c++?
Do class declarations end with a semicolon?
How much is size of struct having 1 char & 1 integer?
What operator is used to access a struct through a pointer a) >> b) -> c) *
What is the need of a destructor? Explain with the help of an example.