What is define directive?
No Answer is Posted For this Question
Be the First to Post Answer
Is anything faster than c?
which is the best site or book for learning C...and i need the content for C..how to get the good programming skills....? can plz suggest me....
what is the coding of display the factorial of a number using array and function?
Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.
where do we use structure pointer?
Where are local variables stored in c?
a c code by using memory allocation for add ,multiply of sprase matrixes
Describe static function with its usage?
What is a method in c?
Explain how do you generate random numbers in c?
What is the Difference between Class and Struct?
#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?