Programming in c
Samser Ali Khan
RA2211003011010

Data Types

Primitive

Int

Char

Double

Short

Long

Float

Non-Primitive

Function

Array

Reference

Pointer

Structure

Linear

Static DS

Array

Dynamic DS

Stack

Queue

Linkedlist

No-Linear

Graph

Trees

Data memory Allocation

Static memory Aloocation

Stack memory

Heap memory

Dynamic memory Allocation

malloc()

calloc()

free()

realloc()


Size:8 bytes
Range: -9223372036854775808 to 9223372036854775807

Size: 8 byte
Range: 2.3E-308 to 1.7E+308

Subtopic

Size:2 bytes
Range: -32,768 to 32,767

Allocation of memory at the time of execution (run time)

Sequencetial

Memory
size
undefined

Fixed
memory
size

Size:2 bytes
Range: -128 to 127 or 0 to 255

Size: 4 byte
Range: 1.2E-38 to 3.4E+38

a fixed amount of memory that is allocated during the compile time of a program and the stack data structure.

Size:2 byte
Range: -32,768 to 32,767 or -2,147,483,648 to 2,147,483,647