What is the difference between malloc() and calloc() function in c language?
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 is function what are the types of function?
What are comments and how do you insert it in a C program?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
In scanf h is used for
What is an example of enumeration?
Write a program to print all the prime numbers with in the given range
8 Answers ABC, College School Exams Tests, TCS,
What are the various topologies? Which one is the most secure?
How to declare pointer variables?
what is the disadvantage of using macros?
What are the two forms of #include directive?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list