C Programming - Memory Allocation - Discussion
Discussion Forum : Memory Allocation - True / False Questions (Q.No. 1)
1.
malloc() returns a float pointer if memory is allocated for storing float's and a double pointer if memory is allocated for storing double's.
Discussion:
16 comments Page 2 of 2.
Panchanan rauta said:
1 decade ago
When a pointer success fully initialize it return void pointer.
Prabin said:
10 years ago
Malloc and calloc always returns void pointers.
Viraj said:
1 decade ago
Void pointer is returned.
Amol said:
8 years ago
Thanks @Anil and @Ashwin.
Mohini said:
1 decade ago
Thanks raj, viraj.
Santosh said:
1 decade ago
Thanks raj.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers