Programming

Technical Journal // Programming
May '21

Learn Dart Programming

Learn basics of Dart programming language with code examples and explainations.

May '21

Types of Pointers in C/C++

Photo of Hyacinth macaw by Roi Dimor on Unsplash Types of Pointers in C / C++1. Null PointerIt is a pointer pointing to nothing. NULL pointer points to the base address of the segment. -EXAMPLE- c 1int * ptr = (int) * 0; 2float * fptr = (float) * 0; 3double * dptr = (double) * 0; 4char * chptr = (char) * 0; Other ways of initializing NULL pointer c 1int * ptr = NULL; 2char * chptr = '\0'; NULL also means 0 in macro c 1#define NULL 0 2. Dangling PointerA pointer pointing to the memory address of any variable (or object) which has been deleted from memory. When a pointer points to a deleted memory address, the pointer is called as a dangling pointer.

May '21

Operators in Bash Shell Programming

Photo by NASA on Unsplash If you want to learn bash bash scripting please read this article. Learn complete Linux bash (shell) scripting in one article Operators help us perform various types of operations such as addition, multiplication etc. There are following types of operators present in bash: Arithmetic, Relational, Boolean, File Test, String Test 1. Arithmetic OperatorsAll the arithmetic operators present in bash are discussed below with examples. These operators work with integers.

May '21

Learn Complete Linux Bash Scripting in One Article

– Photo by Iván Rivero from Pexels In this article I’ll be discussing about linux bash scripting (shell scripting) and I will cover every fundamental concept that you need to get started with bash scripting under linux environment. Bash scripting is a critical skill for every programmer. First of all you will need a linux machine to execute these scripts. You can use any of the below techniques to get a linux machine: