?
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>
void func()
{
printf("Hello");
}
void main()
{
func();
func(2);
}
#include <stdio.h>
void func()
{
printf("Hello");
}
void main()
{
func();
func(2);
}
Join the Discussion
Login to post a comment or share your explanation.
Login