In this article, I will give an introduction to the object oriented programming and we will see what is the major difference between module based programming approach and object oriented programming. Unlike C programming language which follows a procedural/modular based…
What is endianness? Endianness specifies the order in which the bytes of data are stored/processed by a computer. For example, let’s consider a variable that is of 4bytes, and in the memory, it looks like this as shown below. When…
Object files contain the binary information which is generated by either assembler or linker. In Linux object files are in Executable and linkable file format (.elf). In general, we have three types of object files in Linux(i.e. .c file). They…
What are a bit, Nibble and Byte? Computer memory is an electronic chip that consists of millions of transistors and capacitors. A transistor and a capacitor are paired to create a memory cell that stores one bit of data. Such…
We can easily convert a string to a date object using the function Date(). It accepts the string in different formats. For example: We can pass the year, month, and day separately such that it automatically creates the date object…
What is an expression? An expression contains both operators and operands. Example: a = b + c; We can say, both “b + c” and “a = b + c” are expressions. Every expression will produce a result that can…
Introduction to C language History of C language Structure of a C program Compiler What is a compiler? Install C compiler in windows. Install C compiler in Linux with WSL. Compilation process of a C program C program to print…
After clicking on an and if you want to bring the image into view using the following script. We have a method called scrollIntoView which is supported by all the major browsers that align an element automatically with the top/left…
This can be done easily using Regular expressions. Following is the sequence of steps to be done: Let’s write a function in JS that takes a title as an input and returns the URL slug as an output.
In this article, we will see how to convert a string to a template string in JavaScript. let’s consider an example In the above example, I wanted to process the string in x as a template string such that the…