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

What is & in c++ function?

576


Which is not a valid keyword a) public b) protected c) guarded

728


Explain the use of this pointer?

622


Is it possible to provide special behavior for one instance of a template but not for other instances?

612


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

765






What is an undefined behavior and sequence points

555


Can we define function inside main in c++?

541


What is data structure in c++?

641


What is a rooted hierarchy?

669


What is a storage class?

633


Which function should be used to free the memory allocated by calloc()?

578


What is set in c++?

651


Is c or c++ more useful?

566


Difference between a copy constructor and an assignment operator.

552


Can we use this pointer inside static member function?

616