User profile: kingkush

User info
User name:kingkush
History
Joined:
Number of posts:280
Latest posts:

Interview Question that got me confused
I never said to print the number and you would have the value at the moment of calling... but if the...

Interview Question that got me confused
Wouldnt recursion work? Keep global variable K reference thats the number you want to go up to in th...

huge factorial
Why not use a recursive function? It may be slower for bigger numbers but its less code [code]int f...

answer gives wrong
If youre doing factorials and your multiplying by the value in the for loop you should decrement ins...

convert do loop into while or for loop
I'm not sure what [code]#include<conio.h>[/code] does but i dont think you need it. Converting a do ...