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


Please Help Members By Posting Answers For Below Questions

what is Loop function? What are different types of Loops?

636


Which should be more useful: the protected and public virtuals?

596


What is an adaptor class or wrapper class in c++?

602


How many keywords are used in c++?

554


Differentiate between an inspector and a mutator ?

701






What does new in c++ do?

564


Does c++ have string data type?

689


What is implicit conversion/coercion in c++?

648


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

581


What are inline functions? What is the syntax for defining an inline function?

577


What is the difference between object-oriented programming and procedural programming?

689


What is an html tag?

626


Which of the following is evaluated first: a) && b) || c) !

1799


What are the advantages of early binding?

608


What do you mean by volatile and mutable keywords used in c++?

576