Functions - Programming

Q1:

What will be the output of the program?
#include<stdio.h>
int fun(int);
int main()
{
    float k=3;
    fun(k=fun(fun(k)));
    printf("%f\n", k);
    return 0;
}
int fun(int i)
{
    i++;
    return i;
}

A 5.000000

B 3.000000

C Garbage value

D 4.000000

ANS:A - 5.000000

No answer description is available. Let's discuss