Search
 
SCRIPT & CODE EXAMPLE
 

C

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;
}
Comment

PREVIOUS NEXT
Code Example
C :: bash get load average 
C :: arrays in c 
C :: flip exis in dataframe 
C :: how to use malloc in c 
C :: create array of strings in c from user input 
C :: fibonacci series in c 
C :: program to find the average of n numbers using arrays. 
C :: printf("%3d ",XX); 
C :: delay in c programming for windows 
C :: declare string in c 
C :: c median of array 
C :: C strlen implementation 
C :: imprimir matriz 
C :: create point cloud from rgbd image in open3d v0.10 
C :: c memcpy 
C :: print 100 times c 
C :: c size_t 
C :: struct in struct 
C :: calling of a void in c 
C :: c functions 
C :: predefined macros 
C :: setw in c 
C :: C static libraries (Indexing an archive) 
C :: leer string en c 
C :: c program to pass a single element in an funtional array 
C :: translator program in c 
C :: C Change Value of Array elements 
C :: simpy process return value 
C :: timespec c 
C :: sadsa 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =