What should malloc(0) 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

What are the scope of static variables?

0 Answers  


what will be the output of "printf("%d%d",scanf("%d% d",&a,&b))".provide an explation regarding the question

6 Answers  


what is disadvantage of pointer in C

13 Answers   Tech Mahindra,


write a function that accepts an integer/char array and an search item.If the search item is there in the array return position of array and value else return -1.without using other array,without sorting,not to use more than one loop?

3 Answers   Mind Tree,


What is the use of #include in c?

0 Answers  


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

0 Answers  


is c language is a object oreinted language?

5 Answers   TCS,


What is function pointer and where we will use it

2 Answers   Infosys, NetApp,


Can a pointer be static?

0 Answers  


In scanf h is used for

4 Answers   BFL,


What is binary tree in c?

0 Answers  


If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.

12 Answers   Google,


Categories