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 an inline function in c++?
Can java be faster than c++?
What are the methods of exporting a function from a dll?
How many different levels of pointers are there?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
Why should you learn c++?
What is virtual destructor ans explain its use?
What is the size of integer variable?
What do you mean by funtion prototype?
Is it possible to provide special behavior for one instance of a template but not for other instances?
What is the difference between struct and class?
How do you show the declaration of a virtual constructor?
What is the difference between an array and a list?
What is the use of string in c++?
Is swift faster than c++?