what's the return value of malloc()

Answer Posted / tamil

malloc is a pointer it is used to allocate memory

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between arrays and pointers?

577


What are the advantages of external class?

590


Can you tell me how to check whether a linked list is circular?

764


How to write c functions that modify head pointer of a linked list?

539


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

749






a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

4540


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

734


What is structure pointer in c?

565


write a program to copy the string using switch case?

2397


What is the default value of local and global variables in c?

557


Explain is it better to bitshift a value than to multiply by 2?

709


When should you not use a type cast?

655


how could explain about job profile

1446


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

754


how do you execute a c program in unix.

636