Difference between native compilation and cross compilation ?

If we consider that we are working on two platforms,1. x86 – 32 or 64 bit i.e. … 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

UDP DatagramSocket Socket programming in JAVA (Client, Server Example )

In this post, we will write simple UDP Datagram client and server in JAVA language. The client … 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

Solved : java.net.BindException: Address already in use (Bind failed)

If you are working with TCP / UDP sockets in JAVA, there is higher chances your might … 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

Using GDB to debug functions defined in another file in C

In our previous post “How to use gdb for debugging application programs ( On Ubuntu Linux using … Read more