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 output of the following program? Why?
What is stoi in c++?
How would you use the functions randomize() and random()?
How should a contructor handle a failure?
What is pointer in c++ with example?
What is this pointer in c++?
What is the difference between cin.read() and cin.getline()?
Briefly describe a B+ tree. What is bulk loading in it?
What is the rule of three?
Why are arrays usually processed with for loop?
What is the difference between object-oriented programming and procedural programming?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
What is a syntax in c++?
Write a Program for find and replace a character in a string.
Is c++ vector a linked list?