0 votes
in Programming by (340 points)

5. What will be the output?

#include <stdio.h>
display(){
    printf("C\n");
    main();
}
int main(){
    printf("Hey\n");
    display();
    return 0;
}

1 Answer

0 votes
by (340 points)

It prints the following infinite times.....

Hey
C
Welcome to MAKAUT Community, where you can ask questions and receive answers from other members of the community.
...