size maximum allocated by calloc()
Answers were Sorted based on User's Feedback
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 |
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 |
Explain indirection?
What is extern variable in c with example?
What functions are used in dynamic memory allocation in c?
write a program to search for an element in a given array. If the array was found then display its position otherwise display appropriate message in c language
write a program to display the numbers having digit 9 in the given range from 1 to 100
if the address of a[1,1] and a[2,1] are 1000 and 1010 respectively and each occupies 2 bytes then the array has been stored in what order?
4 Answers Amazon, Apple, Bata, Google, NASA,
Why header file is used in c?
How do I copy files?
Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 200000 element array? 1) Quicksort 2) Linear Search 3) Bubble Sort
Which is an example of a structural homology?
How do I swap bytes?
Can we declare function inside main?