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 / kamal

10

Is This Answer Correct ?    30 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is low level language in simple words?

565


What can c++ be used for?

585


Why iomanip is used in c++?

643


List the special characteristics of constructor.

734


What is flag in computer?

608






What apps are written in c++?

607


What are the advantages of early binding?

612


What is the use of map in c++?

611


What is a local variable?

582


what is C++ objects?

673


What is data type in c++?

561


What is meant by the term name mangling in c++?

524


Discussion on error handling of C++ .

650


Does c++ have string data type?

695


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

544