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 a tuple c++?
Write a program to interchange 2 variables without using the third one.
How do you find out if a linked-list has an end?
What is polymorphism in c++? Explain with an example?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
Can I run c program in turbo c++?
What is ofstream c++?
How a new element can be added or pushed in a stack?
What is the identity function in c++? How is it useful?
What is the use of default constructor?
Why is standard template library used?
Differentiate between realloc() and free().
How can we access protected and private members of a class?
What is ostream in c++?
What is a Default constructor?