+ 1
Guess the output?like it for more such questions.
#include<iostream> #include<conio.h> using namespace std; int xyz(int no,int b) //recursive function { if (b==1) return 1; else return no*xyz(no,b-1); } void main() { cout<<"ans="<<xyz(5,2); } // compile this in your mind
3 ответов
+ 3
25
+ 13
Not spilling the beans... but you can submit that to the Quiz Factory, you know...
+ 3
thanks for giving me this idea