size maximum allocated by calloc()

Answers were Sorted based on User's Feedback



size maximum allocated by calloc()..

Answer / vrushali

It is page size. almost 64k in linux OS.
After which we have to use realloc to get more memory.
In case, there is more memory available in dynamic memory
space, then realloc will give the pointer else NULL.

Is This Answer Correct ?    13 Yes 4 No

size maximum allocated by calloc()..

Answer / ravi.g

it depends on system memory and compiler

Is This Answer Correct ?    2 Yes 0 No

size maximum allocated by calloc()..

Answer / rohit

It is page size. almost 64k in linux OS.
After which we have to use realloc to get more memory.
In case, there is more memory available in dynamic memory
space, then realloc will give the pointer else NULL.

and also
it depends on system memory and compiler

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

write a program to print largest number of each row of a 2D array

0 Answers  


Process by which one bit pattern in to another by bit wise operation is?

0 Answers   InterGraph,


C,c++, Java is all are structural oriented or procedure oriented language..?

6 Answers  


Write a program to generate random numbers in c?

0 Answers  


wtite a program that will multiply two integers in recursion function

4 Answers   TCS,






Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.

2 Answers   Scientific Atlanta, Wipro,


What is auto keyword in c?

0 Answers  


Do you know the use of 'auto' keyword?

0 Answers  


Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.

3 Answers   SilverKey,


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

0 Answers  


What are shell structures used for?

0 Answers  


Explain what are the different data types in c?

0 Answers  


Categories