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 namespaces are there in c++?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
How many static variables are created if you put one static member into a template class definition?
Explain virtual destructor?
What is enum class in c++?
How can you tell what shell you are running on unix system?
Do inline functions improve performance?
What is an associative container in c++?
What is conversion constructor?
Why do we use templates?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
What is the use of volatile variable?