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 |
for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????
What does malloc () calloc () realloc () free () do?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is the difference between break and continue?
why we wont use '&' sing in aceesing the string using scanf
int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?
Explain the concept of "dangling pointers" in C.
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
Why can't we initialise member variable of a strucutre
What is getche() function?