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 / kamal
10
| Is This Answer Correct ? | 30 Yes | 9 No |
Post New Answer View All Answers
Explain how functions are classified in C++ ?
Can you explicitly call a destructor on a local variable?
What are vtable and vptr?
Write a program which uses Command Line Arguments
Describe public access specifiers?
Differentiate between structure and class in c++.
Why do you use the namespace feature?
Explain operator overloading.
Write a program in c++ to print the numbers from n to n2 except 5 and its multiples
What is a volatile variable in c++?
What is the use of bit fields in structure declaration?
Describe linked list using C++ with an example.
What new()is different from malloc()?
How a modifier is similar to mutator?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?