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

Post New Answer

More C Interview Questions

What is structure in c language?

0 Answers  


What type of function is main ()?

0 Answers  


write a c program that if the given number is prime, and their rearrangement(permute) of that number is also prime. Ex: Input is "197" is prime Output: 791,917,179 is also prime. Please any one tell me tha code for that

3 Answers  


struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(“%d”,s.x); }

2 Answers   Vector,


Hi can anyone tell what is a start up code?

0 Answers   CTS,


6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1

4 Answers  


Why shouldn’t I start variable names with underscores?

0 Answers  


program to find the ASCII value of a number

8 Answers  


Are the expressions * ptr ++ and ++ * ptr same?

0 Answers  


Explain is it valid to address one element beyond the end of an array?

0 Answers  


What is abstract data structure in c?

0 Answers  


the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0

1 Answers  


Categories