FUN WITH POINTERS

Pointers!A confusing yet curious topic. What is a POINTER?Well, it’s a variable that stores the address of another variable. We often get confused by the dual operation performed by the pointer.‘&‘ Operator is an address operator that gives the address of a particular variable.‘*‘ Operator is an indirection operator, that refers to the value pointed […]

Read More FUN WITH POINTERS

THE SIMPLICITY OF STACK

Stack, the most frequently used data structure. Stack, as the name suggests, keeps on stacking up the data one above the other. Consider an example of stacking up books in a box. The implementation of stack in your program is similar to that. Stack is often referred to as Last In First Out (LIFO). Why?Β  […]

Read More THE SIMPLICITY OF STACK