The below C program prints 15 ______ numbers. #include <stdio.h> int main() {…

The below C program prints 15 ______ numbers.

#include <stdio.h>
int main()
{
int f = 0, g = 1;
int i;
for(i = 0; i < 15; i++)
{
printf("%d \n", f);
f = f + g;
g = f - g;
}
return 0;
}

  1. A.

    Armstrong Numbers

  2. B.

    Perfect Numbers

  3. C.

    Fibonacci Numbers

  4. D.

    None of these

Attempted by 206 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…