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 / anil hooda
it will return any integer value.....
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h
Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
What is the difference between an enumeration and a set of pre-processor # defines?
What does namespace mean in c++?
What is c++ namespace?
Why should we use null or zero in a program?
What should main() return in c and c++?
What does I ++ mean in c++?
Explain how overloading takes place in c++?
How would you find out if a linked-list is a cycle or not?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
What is a linked list in c++?
What is atoi?
Is c++ the best programming language?
How would you call C functions from C++ and vice versa?