Single Choice Not Set

QWhat will be the output of the following program?
main();
{
static int var = 4 ;
printf("%d", var--);
  
   if(var)
     main();
}

ID: #1271 Function in C Language 1,047 views
Question Info
#1271Q ID
Not SetDifficulty
Function in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 4444........until stack overflow
  • B 4321
  • C Compiler error
  • D Linker Error
Correct Answer

Explanation

4321
No Previous Next Question

Share This Question

Challenge a friend or share with your study group.