Homec program c programming Questions Abhinav Guddu October 18, 2020 2 Comments Facebook Twitter coding Test👱👦 Can you guess the output at f(1)?#include<stdio.h>#include<conio.h>int main(){int f(int n) { static int i = 1; if (n >= 5) return n; n = n+i; i++; return f(n); }} Output:7,p); Tags c program Facebook Twitter
initially what is the value of n ...
ReplyDeleteFor out put 7 , the value of n have to initiate with 0.
Bro you have to calculate the value at f(1).
ReplyDeletePost a Comment