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
Mention the storage classes in c++.
What is the hardest coding language to learn?
Why are arrays usually processed with for loop?
What is isdigit c++?
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
What are the vectors in c++?
What's the hardest coding language?
Why do we need templates?
Is std :: string immutable?
What is the use of map in c++?
Which format specifier is used for printing a pointer value?
What is the role of copy constructor in copying of thrown objects?
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.
How do you invoke a base member function from a derived class in which you have not overridden that function?
Describe about storage allocation and scope of global, extern, static, local and register variables?