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 / ramez
Constant expression will be required here...
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
how to explain our contribution in the project?
Define stacks. Provide an example where they are useful.
Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D
What is virtual methods?
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
What do manipulators do?
What do the keywords volatile and mean mutable?
Explain shallow copy?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
How can a called function determine the number of arguments that have been passed to it?
What is null pointer and void pointer?
Why was c++ made?
What is the basic structure of c++ program?
When is dynamic checking necessary?
What is the purpose of ios::basefield in the following statement?