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 we add our function in liabrary as liabrary function. Exp. we want use our int factorical(int); function as int pow(int,int); function working in math header file.

1 Answers  


The code is::::: if(condition) Printf("Hello"); Else Printf("World"); What will be the condition in if in such a way that both Hello and world are printed in a single attempt?????? Single Attempt in the sense... It must first print "Hello" and it Must go to else part and print "World"..... No loops, Recursion are allowed........................

14 Answers   HOV Services, IBM, Potty,


Write a program to check whether a number is prime or not using c?

0 Answers  


Tell us the use of fflush() function in c language?

0 Answers  


Why is a semicolon (;) put at the end of every program statement?

0 Answers  


Is javascript written in c?

0 Answers  


what is the different between data structure and data type?

1 Answers   Ignou,


What is the difference between int and float?

3 Answers  


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

0 Answers  


Explain what are the standard predefined macros?

0 Answers  


what is the full form of c language

9 Answers   Satyam, TCS, VNC,


Prove or disprove P!=NP.

5 Answers   Microsoft,


Categories