free ( ) Function 02:00:00 Memory is a limited resource. One should allocate exactly the sized piece of memory before you need it, and release it as soon as you...Read More
realloc Function 01:58:00 The realloc ( ) function gives you a means to change the size of a piece of memory space allocated by malloc ( ), calloc ( ) or by its...Read More
calloc Function 01:54:00 The calloc ( ) function is also used to allocate main memory dynamically. It provides access to the C memory heap, which is available ...Read More
malloc ( ) function 01:51:00 The malloc ( ) functions allocates a block of memory of specified size from the memory heap. The declaration of malloc ( ) is of the f...Read More
Dynamic Memory Management 01:44:00 Memory allocation means to reserve the block of memory for some variable. Till now we have discussed that when a variable is declared,...Read More
Array of Pointers 01:39:00 The general syntax for array of pointers is : Here data_type refers to thedata type of the array whose name is array. The exp1 ...Read More
Pointing to Functions 01:36:00 We have already discussed how pointers to array work. Similarly, you can declare a pointer that is initialized with the left value of ...Read More
Pointer and Arrays 01:29:00 When an array is declared, the compiler allocates a base address and sufficient amount of storage to contain all the elements of the a...Read More
Pointer to a Pointer 01:25:00 Since every variable declared in a program is assigned an address, so a pointer variable also has an address. Pointer to a pointer mea...Read More
Indirection Or Deference Operator(*) 11:00:00 Once the pointer variable stores the address of some variable, it can be used to indirectly access the value of the variable whose add...Read More
Address of operator or Reference operator(&) 10:56:00 We can initialize the pointer variable by assigning the address of some other variable. The address of the variable can be obtained by...Read More
Initialization of Pointer Variables 10:53:00 Once the pointer variable is declared, it must be properly initialized before it can be used. Uninitialized pointers can be use...Read More
Declaring Pointer Variables 10:46:00 A pointer variable is declared in the same way as that of normal variable except that the name of the pointer variable must be precede...Read More
What is a Pointer ? 10:33:00 A pointer is a variable that contains the address of another variable in memory. Suppose i is a integer variable having value 10 ...Read More
Introduction 10:17:00 Pointers are one of the most powerful features available in C. The use of pointers offers a great degree of flexibility for manipul...Read More