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 is an overflow error?
Explain function overloading and operator overloading.
What is the difference between the compiler and the preprocessor?
Explain the scope resolution operator?
What are shallow and deep copy?
What is the difference between const and constexpr?
What are the two main components of c++?
What is an adaptor class or wrapper class in c++?
What are the uses of pointers?
Explain the term memory alignment?
Is c++ used anymore?
Why is main an int?