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
You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?
how to multiply two number taking input as a string (considering sum and carry )
How do you prevent buffer overflows in C?
List the difference between a While & Do While loops?
which do you prefer C or Pascal?
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.
Explain how do you search data in a data file using random access method?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
what is the difference between exit() and _exit() functions?
What header files do I need in order to define the standard library functions I use?
How will you delete a node in DLL?