|
Question |
Rating |
View Answer |
|
Is it better to use malloc() or calloc()? |
|
View Answer |
|
What are advantages and disadvantages of external storage class? |
|
View Answer |
|
What’s wrong with this code?
Char*p *p=malloc(10); |
|
View Answer |
|
What is the heap? |
|
View Answer |
|
when should the volatile modifier be used? |
|
View Answer |
|
What is static memory allocation and dynamic memory allocation? |
|
View Answer |
|
How can you determine the size of an allocated portion of memory ? |
|
View Answer |
|
What is the difference between calloc() and malloc() ? |
|
View Answer |
|
Difference between calloc() and malloc()? |
|
View Answer |
|
What is the purpose of realloc( )? |
|
View Answer |
|
Difference between malloc and calloc? |
|
View Answer |
|
How can you determine the size of an allocated portion of memory? |
|
View Answer |
|
What’s wrong with this code?
Char*p *p=malloc(10); |
|
View Answer |
|
what is the difference between the functions memmove() and memcpy()? |
|
View Answer |
|
Difference between calloc and malloc ? |
|
View Answer |
|
What is the Difference between calloc and malloc? |
|
View Answer |
|
Why do we need to test weather it is memory leak or not?
How are we going to know that?
|
|
View Answer |
|
How to write calloc() in terms of malloc()? ie malloc() should initialise the memory to zero after allocating it |
|
View Answer |
|
when memory will be created after defining in c and c++; |
|
View Answer |
|
Why does malloc(0) return valid memory address ? What's the use ? |
|
View Answer |