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

program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

0 Answers   Huawei,


write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.

1 Answers   iGate, Shashi, Source Bits, Subex,


Write a c program to build a heap method using Pointer to function and pointer to structure ?

0 Answers   MAHINDRA, Protech, Sivan Tech,


String concatenation

2 Answers  


What is the output of printf("%d", printf("Hello"));?

1 Answers  


What is the difference between far and near in c?

0 Answers  


Why array starts with index 0

2 Answers  


Write a program to print fibonacci series without using recursion?

0 Answers  


How can I get Single byte from 'int' type variable? Can we alter single bit or multiple bits in int type variable? if so, How?

2 Answers  


What is meant by type specifiers?

0 Answers  


what is the difference between static variable and register variable?

3 Answers  


how should functions be apportioned among source files?

0 Answers  


Categories