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 / ravinder kumar(omnietysolution
Error in program
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What is the difference between prefix and postfix versions of operator++()?
What is pointer with example?
What is the use of register keyword with the variables?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
What is the use of endl in c++?
Why is main an int?
What are the c++ access specifiers?
Can you Mention some Application of C/C++?
what does the following statement mean? int (*a)[4]
Is string an object in c++?
Mention the ways in which parameterized can be invoked. Give an example of each.
Is c++ slower than c?
Which operator cannot be overloaded c++?
Can non graphic characters be used and processed in C++?
Const char *p , char const *p What is the difference between the above two?