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
how many trys can we write in one class
Do you know what are pure virtual functions?
Define copy constructor.
To what does “event-driven” refer?
what is a reference variable in C++?
Give 10 points of differences between C & C++.
why we cant create array of refrences
#include<iostream.h> void main() { class x { public: int func(int) { cout<<"cool"; return 1; } } }
What are the differences between the function prototype and the function defi-nition?
Difference between const char* p and char const* p?
What are C++ inline functions?
What is istream and ostream in c++?