BeingPro | Java PDF Notes | C Language Practice Questions | Handwritten Notes | PDF | Computer PDF Notes | C++ | Coding: post #575 — TG.ME

What will be the output?

#include <stdio.h>
void infinite(int x)
{
  printf("%d ", x);
  infinite(x + 1);
}
int main()
{
  infinite(1);
  return 0;
}

Your Options are:
😱 Infinite numbers
🥳 1 only
😍 Compilation error
😂 Runtime crash

🔴 Comment your answer using just one emoji!
July 26, 2025 2.2K 2