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

C Codes

Missing Array Intermediates – C code

Problem: Printing the missing array intermediates As a input, collect a sorted array of integer elements from the user. The task is to print the intermediate missing elements. Example: If the user enters the array elements as: {1, 4, 7, 9, 10, 11, 12, 15} Then, output has to be: 2, 3, 5, 6, 8,… Continue reading Missing Array Intermediates – C code

General Discussions

The Evolving Web

Since the birth of web it has always demanded technologies that make sense and be  more human friendly. When web was instantiated: Rendering Transfer of documents and Data were the key challenges. As the web grew, it was not understood alike by everyone. It grew with plethora of information, products and services, readily discoverable by… Continue reading The Evolving Web