closed by
252 views
0 votes
0 votes
int fun(n){

static int i=1;

If(n>=5)return n;

n=n+I;

i++;

return f(n);

}

f(1)?
closed by

Related questions

0 votes
0 votes
1 answer
1
Lifesuraj asked Oct 6, 2023
229 views
its output is 6??how?? // Online C++ compiler to run C++ program online#include <iostream>using namespace std;int main() { // Write int a=-3; a=-a-a+!a; cout<...
1 votes
1 votes
0 answers
2
Mahbub Alam asked Nov 15, 2018
550 views
what is the result of comparing signed with unsigned number??#include <stdio.h>int main(){ unsigned int a = 5;if(a -1)printf("5 is -1\n"); return 0; }
0 votes
0 votes
1 answer
4
Satyansh asked Sep 22, 2022
530 views
Number of ways to assign 5 different people in 3 different rooms, so that each room contains at least one person?