What is the main difference between calloc () and malloc ()?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

in iso what are the common technological language?

0 Answers  


What is the value of h?

0 Answers  


Can a pointer be null?

0 Answers  


write the program for maximum of the following numbers? 122,198,290,71,143,325,98

5 Answers  


Is c an object oriented programming language?

1 Answers  






In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT

1 Answers   IBM,


What does do in c?

0 Answers  


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

0 Answers  


the operator for exponencation is a.** b.^ c.% d.not available

5 Answers   TCS,


Write a simple program to find the size of different basic data types in C.

3 Answers  


How does free() know how many bytes to free?

8 Answers  


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

0 Answers  


Categories