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

Expand the following LKB BKL FFG

0 Answers  


how to capitalise first letter of each word in a given string?

0 Answers  


string reverse using recursion

0 Answers   Mind Tree,


Do you know the difference between malloc() and calloc() function?

0 Answers  


writw a program to insert an element in the begning of a doubly linked list

1 Answers  


Explain how do you use a pointer to a function?

0 Answers  


why u join this call center?

6 Answers   DELL,


a number is perfect if it is equal to the sum of its proper divisor.. 6 is perfect number coz its proper divisors are 1,2 and three.. and 1+2+3=6... a number is deficient if the sum of its proper divisor is less than the number.. sample: 8 is deficient, coz its proper divisors are 1,2 and 4, and 1+2+4=7. abundant number, if the sum of its proper divisor is greater than the number.. sample..12 is abundant coz 1+2+3+4+6=16 which is geater than 12. now write a program that prompts the user for a number, then determines whether the number is perfect,deficient and abundant..

1 Answers  


What is a struct c#?

0 Answers  


what is c language?

2 Answers  


What are the characteristics of arrays in c?

0 Answers  


what is the difference between NULL('\0') and 0?

14 Answers   Microsoft,


Categories