A
Q. What happens if the following program is run in C and C++?
Code:
#include<stdio.h>
int main()
{
display();
}
int display()
{
printf("Hello World!");
return 0;
}
int main()
{
display();
}
int display()
{
printf("Hello World!");
return 0;
}
- Correct Answer - Option(C)
- Views: 21
- Filed under category C++
- Hashtags:
Discusssion
Login to discuss.