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 is Loop function? What are different types of Loops?
Which should be more useful: the protected and public virtuals?
What is an adaptor class or wrapper class in c++?
How many keywords are used in c++?
Differentiate between an inspector and a mutator ?
What does new in c++ do?
Does c++ have string data type?
What is implicit conversion/coercion in c++?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
What are inline functions? What is the syntax for defining an inline function?
What is the difference between object-oriented programming and procedural programming?
What is an html tag?
Which of the following is evaluated first: a) && b) || c) !
What are the advantages of early binding?
What do you mean by volatile and mutable keywords used in c++?