What is the difference between local variable and global variable in c?
No Answer is Posted For this Question
Be the First to Post Answer
How can I swap two values without using a temporary?
What is storage class?
How do I round numbers?
what is the difference between #include<stdio.h> and #include "stdio.h" ?
What is the use of define in c?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
Why is #define used?
how to find the sizof of any datatype using bit manipulations
What is meant by global static? why we have to use static variable instead of Global variable
#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....?
Write a program to swap two numbers without using third variable in c?
main() { int i=5; printf("%d%d%d%d",i++,i--,i); }