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

what is the purpose of the code, and is there any problem with it. bool f( uint n ) { return (n & (n-1)) == 0; }

1 Answers   Google,


main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }

6 Answers  


which operator having highest precedence? a.)+ b.)++ c.)= d.)%

4 Answers  


Can we declare a function inside a function in c?

0 Answers  


can u give me the good and very optimised code for a car racing game?

0 Answers  






How to set a variable in the environment list?

1 Answers  


Is c is a procedural language?

0 Answers  


what is real time system?what is the differance between hard and soft real time systems

2 Answers  


how to find the given number is prime or not?

6 Answers   IMS, ING,


Explain what is the advantage of a random access file?

0 Answers  


Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A

1 Answers  


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

0 Answers  


Categories