General Discussions

Github Profile

Originally posted on PH Bytes:
You can check out my profile and thereby repo here: Profile Link

General Discussions

Understanding Recursion

Consider the Factorial Function: Product of all the integers between 1 to n. n! = 1 if n= 0 n! = n* (n-1) * (n-2) * . . . * 1 if n > 0 To avoid the shorthand definition for n! We have to list a formula for n! for each values of n… Continue reading Understanding Recursion

General Discussions

Types of Pointers

Pointer: Pointer is a variable which holds the address of another variable NULL Pointer: A null pointer has a value reserved for indicating that the pointer does not refer to a valid object. It is pointer initialized to NULL value Void Pointer: are pointers pointing to data of no specific data type. The compiler will… Continue reading Types of Pointers

General Discussions

Pointers: Advantages and Disadvantages

Pointer Advantages: Support dynamic memory allocation Faster access of data We can access byte or word locations and the CPU registers directly The data in one function can be modified by other function by passing the address More than one value can be returned from a function through parameters using  pointers Mainly useful while processing… Continue reading Pointers: Advantages and Disadvantages

General Discussions

Properties of a Computation

Here they go! It should be governed by a rule The rule should be a general rule and work on all such similar problems The rule should be clear and unambiguous The process used in the rule must be at a greater level of detail than the problem itself. There should be a stopping rule… Continue reading Properties of a Computation

General Discussions

Structures and C – Ebook

Originally posted on PH Bytes:
Understanding ‘structures’ has given stunning buildings and architectural wonders. Understanding ‘structures’ has explained us how to visualize the universe and the planetary system. Understanding ‘structures’ has given out patterns and designs. Structures have made the study easy and involving. Understanding ‘structures’ will also make you a better programmer. Though we…

General Discussions

Github Profile

You can check out my profile and thereby repo here: Profile Link

General Discussions

The Web Circular – Ebook

Originally posted on PH Bytes:
It’s kind of a Notice. Like a note given to web and web enthusiasts. The book presents a very brief history of evolution and as well predicts a few things that could deliver an obligatory friendly web in the future. The book is divided into two parts. ‘Part A: The…

General Discussions

Basic Queue Implementation – C

The C code for basic Queue Implementation can be found here: Queue Code Link