C program in Linux to find the current working directory (PWD)
getcwd, getwd, get_current_dir_name functions return a null-terminated string containing an absolute pathname that is the current working … Read more
getcwd, getwd, get_current_dir_name functions return a null-terminated string containing an absolute pathname that is the current working … Read more
Following program converts integer number 42 to string “42” using sprintf. sprintf() writes to the character string. … Read more
In C program, comments doesn’t have any use other than for better understanding of the developers of … Read more
In this post, we will create a simple C program, compile it with debugging enabled and then … Read more
This post is in continuation of our previous post “Understanding ARP (Address Resolution Protocol) basics“ To visualise … Read more
For compiling simple golang helloworld program as part of yocto build framework, we need to download meta-golang … Read more
To get the exact size of a type or a variable on a particular platform, you can … Read more
If you are trying to run modulo / remainder operator like below, there are higher chances you … Read more
The remainder operator (otherwise known as the modulo operator) % is a binary operator (i.e., takes exactly … Read more
As we have seen in “C program for using modulo operator, finding if number is dividable and … Read more