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 / ram
main method cannot return any value.
| Is This Answer Correct ? | 6 Yes | 28 No |
Post New Answer View All Answers
What is the most powerful coding language?
What is the basic concept of c++?
What is c++ runtime?
Are c and c++ different?
What does extern mean in a function declaration in c++?
What is math h in c++?
What is switch case in c++ syntax?
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?
How a pointer differs from a reference?
Can non-public members of another instance of the class be retrieved by the method of the same class?
If a function doesn’t return a value, how do you declare the function?
Do inline functions improve performance?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?
Can we use struct in c++?
How many standards of c++ are there?