?
What happens if the following program is executed in C and C++?
What happens if the following program is executed in C and C++?
#include<stdio.h>
int main()
{
foo();
}
int foo()
{
printf("Hello");
return 0;
}
#include<stdio.h>
int main()
{
foo();
}
int foo()
{
printf("Hello");
return 0;
}
Join the Discussion
Login to post a comment or share your explanation.
Login