What is a memory leak in structures? How can we rectify that?
Answer Posted / sadhasivaraj
defining a structure includes lots of memory space bcoz
scructure consumes lots of memory space by allocatin a
desired space during initialization
ie bcoz struct can handle different data types
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the difference between far and near in c?
What is the process to create increment and decrement stamen in c?
How are variables declared in c?
to find the closest pair
What is your stream meaning?
what is the different bitween abap and abap-hr?
What is FIFO?
What is structure and union in c?
What is clrscr in c?
What is main () in c language?
List the different types of c tokens?
Explain how are 16- and 32-bit numbers stored?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
How can I recover the file name given an open stream or file descriptor?