Is it better to use a macro or a function?
No Answer is Posted For this Question
Be the First to Post Answer
#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....?
what will be the output for the following main() { printf("hi" "hello"); }
how can i print "hello"
What is a pragma?
what is an ERP?
what value is returned to operating system after program execution?
What is const volatile variable in c?
What is the equivalent code of the following statement in WHILE LOOP format?
How many main () function we can have in a project?
AMMONG THE 4 STROAGE CLASSES IN C, WHICH ONE FASTEST?
Is that possible to store 32768 in an int data type variable?
What is the collection of communication lines and routers called?