int main()
{
int i ,a[i];
i = 0;
a[i] = 10;
cout<< a[i] << endl;
return 0;


}

What will be output of this program?

Answer Posted / blacky

Compiler will Core Dump

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Implement stack operations with pointers with appropriate exception checks.

567


which operator is used for performing an exponential operation a) > b) ^ c) none

605


How can I improve my c++ skills?

556


Explain the differences between list x; & list x();.

603


What do you mean by vtable and vptr in c++?

622






Explain about vectors in c ++?

595


What are the restrictions apply to constructors and destructors?

643


Is python better than c++?

585


What is the role of static keyword for a class member variable?

629


What is a stack c++?

575


give me an example for testing a program showing the test path .show how the test is important and complex.

2424


What do you mean by inheritance in c++? Explain its types.

614


Explain object slicing in c++?

588


Explain the use of this pointer?

636


Can we make copy constructor private in c++?

595