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 / sachinmundhra
This will not get compile.
int i , a[i] ; // This statement will given error. Constant
expression required.
| Is This Answer Correct ? | 38 Yes | 3 No |
Post New Answer View All Answers
Explain this pointer?
Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened
What is virtual methods?
What is the fastest c++ compiler?
Comment on c++ standard exceptions?
How do I start a c++ project?
What does extern mean in a function declaration in c++?
What is the iunknown interface?
What c++ is used for?
What is virtual destructor? What is its use?
What is class definition in c++ ?
Explain how to initialize a const data member.
What is recursion?
Are strings immutable in c++?
What is the meaning of string in c++?