Skip to main content

Posts

Showing posts from April, 2020

Review

POINTER Pointer is a type of variable in C. It differentiate from other variable is that it can contain the memory address of other variable. Pointer can be declared as such : int *ptr; -> ptr is a pointer that point to a variable that contain an integer. Pointer can also point to another pointer and is called double pointer. ARRAY Array is a type of data structure that can store a fixed amount of variable. In shorter term array is a collection of variable that has the same data type. Array can be declared as such : int arr[10]; -> arr is an array of integer that can store a maximum of 10 integer. LINKED LIST Linked is a type of data structure that store it's data in a node(struct) that is connected together via link. Each node contain a reference to the next node and/or a reference to the previous node. Linked List is second most used data structure after array. There are two most used type of linked list : 1. Single Linked List 2. Double/Doubly Linked Lis...