General Discussions

Algorithm for a Self-Creating Algorithm

We have advanced so much with data science, machine learning and artificial learning that sometimes I really wonder if writing an algorithm would makes sense. With changing data, algorithm turns out to be highly dynamic and difficult to predict how it might behave after certain point of time if we are not aware of type… Continue reading Algorithm for a Self-Creating Algorithm

General Discussions

Why File Pointers are of type FILE

When working with files in C programming language, we define and use a file pointer of data type FILE. For say example we use: FILE *out_file; One could always have a question, that, why use FILE? From where is that data type suddenly popped out? The reason being that C header files have a structure… Continue reading Why File Pointers are of type FILE

General Discussions

C Pointers and Major Types

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 a pointer initialized to NULL value. Void Pointer: Are pointers pointing to data of no specific data type. The compiler… Continue reading C Pointers and Major Types

General Discussions

Algorithms and 10 Step Process

When we talk of algorithms, following are the properties we generally refer to: The non-ambiguity requirement for each step of an algorithm cannot be compromised The range of inputs for which an algorithm works has to be specified carefully The same algorithm can be represented in several different ways Several algorithms for solving the same… Continue reading Algorithms and 10 Step Process