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
What is enum class in c++?
What is istream and ostream in c++?
Write about the role of c++ in the tradeoff of safety vs. Usability?
What are the four partitions in which c++ compiler divides the ram?
What is an undefined behavior and sequence points
Why is swift so fast?
How to tokenize a string in c++?
In a function declaration what does extern means?
What is the difference between global variables and static varables?
What is stream and its types in c++?
What is c++ w3school?
What is the use of setfill in c++?
What is extern c++?
Why is null pointer used?
What is the difference between public and private data members?