What is Dynamic memory allocation in C? Name the dynamic allocation functions.
To allocate memory dynamically, library functions are malloc() , calloc() , realloc() and free() are used. ... These functions are defined in the <stdlib. h> header file.
Is This Answer Correct ? | 0 Yes | 0 No |
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
Explain how does free() know explain how much memory to release?
Does c have enums?
What is the difference between Printf(..) and sprint(...) ?
Give me basis knowledge of c , c++...
What are dangling pointers?
What is line in c preprocessor?
program that accepts amount in figures and print that in words
2 Answers Infosys, Lovely Professional University, Wipro,
Can math operations be performed on a void pointer?
Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?
int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf("b"); n++; continue; default : printf("c"); break; } break; }
What is the size of structure in c?