What should malloc() do? Return a null pointer or a pointer to 0 bytes?


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

Post New Answer

More C Interview Questions

How will you allocate memory to double a pointer?

1 Answers  


Differentiate between Macro and ordinary definition.

0 Answers   Motorola,


Does sprintf put null character?

0 Answers  


What are reserved words?

0 Answers  


du u know test pattern for robosoft? Plz share

1 Answers   RoboSoft, TATA, Wipro,






Explain what are run-time errors?

0 Answers  


2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value

3 Answers   Accenture,


How can you increase the size of a statically allocated array?

0 Answers   TISL,


write a c program to add two integer numbers without using arithmetic operator +

13 Answers   Value Labs,


What is your favorite subject?

1 Answers   Ericsson, Invendis, Tech Mahindra,


write an algorithm and c program to add two 2x2 matrics

2 Answers  


What is the Lvalue and Rvalue?

2 Answers  


Categories