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 / mohammed afroz
There are compile time error in this program. Because array
can declare with a constant value.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What are manipulators used for?
What operators can you overload in c++?
How do you decide which integer type to use?
Difference between overloading vs. Overriding
What is c++ flowchart?
Can c++ be faster than c?
How do we balance an AVL Tree in C++?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
What are the types of container classes?
What are the rules about using an underscore in a c++ identifier?
How the virtual functions maintain the call up?
What are the vectors in c++?
Define a conversion constructor?
What language does google use?