Answer Posted / ravi a joshi
malloc() returns pointer to void. That is, pointer to the
first memory location of the allocated memory block. The
pointer type is unknown at this point, hence typecasting is
done later.
Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
Explain how do you override a defined macro?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
Do variables need to be initialized?
What is bubble sort in c?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
Can a variable be both const and volatile?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
define string ?
What is variables in c?
Why do we use main function?
What is the purpose of scanf() and printf() functions?
Explain the properties of union.
How do I use void main?
Explain what is the benefit of using #define to declare a constant?
What are the __date__ and __time__ preprocessor commands?