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
Write a C++ program which will compute the volume of a sphere or a cylinder after prompting the user to type the first character for the shape name.
0 Answers An-Najah National University,
Why was c++ made?
How can you quickly find the number of elements stored in a dynamic array?
Difference between Overloading and Overriding?
35 Answers Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,
What do you mean by “this” pointer?
What is fflush c++?
Why do we use string in c++?
What is difference between initialization and assignment?
12 Answers HCL, HP, Infosys,
Implement stack operations with pointers with appropriate exception checks.
What are multiple inheritances (virtual inheritance)?
What is the role of copy constructor in copying of thrown objects?
what is the use of Namespace in c++.