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
What is & in c++ function?
Which is not a valid keyword a) public b) protected c) guarded
Explain the use of this pointer?
Is it possible to provide special behavior for one instance of a template but not for other instances?
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
What is an undefined behavior and sequence points
Can we define function inside main in c++?
What is data structure in c++?
What is a rooted hierarchy?
What is a storage class?
Which function should be used to free the memory allocated by calloc()?
What is set in c++?
Is c or c++ more useful?
Difference between a copy constructor and an assignment operator.
Can we use this pointer inside static member function?