Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
c
« Previous
Next »
From which of the following libraries below, calloc() belongs to?
Options
- stdlib.h
- malloc.h
- calloc.h
- both a and b above
CORRECT ANSWER : both a and b above
Discussion Board
ccc test is the best test.
on line answer dene ke liye dhanyabad.
HIMANSHU SAROJ 08-4-2017 08:32 AM
Library functions
Calloc() belongs to both stdlib.h and malloc.h.
stdlib.h and malloc.h are the standard C header files.
C-inbuilt functions like calloc(),malloc(),free() are declared in these header files.
Sapna 02-14-2017 04:52 AM
Library functions
Calloc() belongs to both stdlib.h and malloc.h.
stdlib.h and malloc.h are the standard C header files.
C-inbuilt functions like calloc(),malloc(),free() are declared in these header files.
Sapna 02-14-2017 04:52 AM
calloc()
Answer : both a and b above.
The calloc() function is used to allocate storage to a variable while the program is running. The calloc() function allocates the requested memory and returns a pointer to it. The calloc function allocates a block of memory for an array.
Jayesh Sonar 02-24-2015 02:30 AM
calloc()
This function is used to allocate storage to a variable while the program is running.
Aparna 07-5-2013 03:14 AM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
C test (42)
C (12)
C++ for beginners (10)
C++ (20)
C++ (24)
C++ (18)
C++ (14)
C++ (12)
C++ (15)
C++ (15)
Data structure (20)
Data structure (10)
Data structure (10)
Data structure (10)
PERL (25)
VC++ (11)
Oops (30)
Mainframe (41)
Mainframe (15)
Embedded systems (15)
OOAD (49)
Advertisement
▲