C program to verify the integrity of a file with md5 checksum

Most of the times we downloaded some files from the internet, and we also see people provides … Read more

Check if a File Exists in C

If we want to see whether certain file exists or not before doing some operation like read/write … Read more

Debugging using C macros __FILE__ and __func__ and __LINE__

Following program shows a sample example of how we can use C macros __FILE__ , __func__ and … Read more

C program to read the contents of a file into character buffer

Lets say we want to read the contents of some file and want to operate on these … Read more

How to resolve: error: initializer element is not constant

Sometimes during complex programing, there are chances we make some mistakes during hurry to write and complete … Read more

Error Handling in C programs using errno, perror and strerror

The perror() function produces a message on standard error describing the last error encountered during a call … Read more

Arrays in Go language with Simple example

The below program initialises a static array of 7 elements and prints the values of each element … Read more

Socket Programming in JAVA – TCP client and server

As we have already seen, how to write UDP socket programs in JAVA, now we will write … Read more

Understanding ARP (Address Resolution Protocol) basics

The MAC address is how machines on a subnet communicate. When machine A sends packets to another … Read more

Solved: compilation error for ARM toolchain “undefined reference to `_exit'”

Our ARM toolchain was extracted at “/home/devlab/Desktop/helloworld/assembly/gcc-arm-none-eabi-10-2020-q4-major/” hence lets first try to add this toolchain to terminal … Read more