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 / anil hooda
it will return any integer value.....
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
What size is allocated to the union variable?
What is using namespace std in c++?
Differentiate between a constructor and a destructor in c++.
How are Structure passing and returning implemented by the compiler?
Explain what you mean by a pointer.
What does the ios::ate argument do?
Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.
What is the extension of c++?
Why iomanip is used in c++?
What is the difference between structure and class?
Write a program which uses Command Line Arguments
Why is c++ a mid-level programming language?
What is difference between rand () and srand ()?
What is lazy initialization in c++?
What are c++ templates used for?