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 null and void pointer?

580


What is the history of c++?

546


Explain explicit container.

629


In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h

663


What does extern mean in a function declaration in c++?

689






What is the difference between the functions memmove() and memcpy()?

619


Is atoi safe?

585


What is a flag in c++?

599


Is it possible to write a c++ template to check for a function's existence?

562


Is it possible for a member function to use delete this?

558


Are php strings immutable?

549


What is abstract class in c++?

579


what is Member Functions in Classes?

608


What do c++ programmers do?

545


Out of fgets() and gets() which function is safe to use and why?

714