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

What is variable in c example?

0 Answers  


what is the value of b if a=5; b=++a + ++a

31 Answers   Infosys, TCS, Tech Mahindra,


#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 Answers  


Are negative numbers true in c?

0 Answers  


What is an volatile variable?

15 Answers   HP,






what is the output on the screen? int n; n=printf("my name is %d",printf("kiran %d",printf("kumar"))); printf("\n %d \n",n);

4 Answers   TCS,


what is an inline fuction??

2 Answers  


Convert the following expression to postfix and prefix (A+B) * (D-C)

3 Answers   Satyam,


What is the scope of global variable in c?

0 Answers  


What are the functions to open and close file in c language?

0 Answers  


what is the function of void main()?

8 Answers  


write a proram to reverse the string using switch case?

0 Answers   Syntel,


Categories