What will be the output of the following C code?
#include <stdio.h>
int m()
{
printf("hello");
}
void main()
{
int k = m();
printf("%d", k);
}
#include <stdio.h>
int m()
{
printf("hello");
}
void main()
{
int k = m();
printf("%d", k);
}A. hello5
B. Error
C. Nothing
D. Junk value
Answer: Option A

Join The Discussion