| by Arround The Web

C: Connect Function System Call

In this Linux Hint article, you will learn how to use the connect() function and create a socket from scratch to connect remotely to a server.

Share Button
Read More
| by Arround The Web

Inet Pton() Function in C Language

Tutorial on how to convert the string format to IP addresses in direct binary using the inet_pton() function, its function, input arguments, and data type.

Share Button
Read More
| by Arround The Web

Getaddrinfo() Function in C Language

Guide on how to use the getaddrinfo() function to resolve the IP address of a domain and get the information from the server to open a socket and connect to it.

Share Button
Read More
| by Arround The Web

How to Use the C String.h Library Functions

Practical tutorial on some of the functions of the “string.h” header file in the C programming language using the string length, copy, and comparison functions.

Share Button
Read More
| by Arround The Web

Auto Keyword in C

Tutorial on the usage of the “auto” keyword in the C programming language and how the same functionality can be achieved without even using this keyword in C.

Share Button
Read More
| by Arround The Web

How and Why to do Bitwise AND in C?

This is on bitwise “AND” operation of the C programming language, its significance, and how this operator actually works in the C programming language.

Share Button
Read More
| by Arround The Web

If Then Else Statement in C

By going through this, you will easily be able to understand the working of the “if-then-else” statement in the C programming language.

Share Button
Read More
| by Arround The Web

Calculator Program in C

This discussed the two different methods of writing a calculator program in the C programming language: “if-else” statement whereas and “switch-case” statement.

Share Button
Read More
| by Arround The Web

How to Call a Function in C?

This article was written to give you an idea about the different ways in which you can call a function in the C programming language.

Share Button
Read More
| by Arround The Web

While Loop in C

A guide on how to use the while loop in the C programming language in three different aspects, such as printing in a series of numbers and infinite while loop.

Share Button
Read More
| by Arround The Web

Macros in C

The Macros in C language are useful in swapping the large code with a single piece of line code to avoid complexity. This article explains Macros in C.

Share Button
Read More
| by Arround The Web

Fork System Call in C

The basic purpose of the fork command method is to create one or more child processes. This article explains fork system call in C.

Share Button
Read More
| by Arround The Web

Calloc in C

The C language has the calloc() function, which is used to dynamically allocate the desired number of memory blocks of a particular type.

Share Button
Read More
| by Arround The Web

Fsync System Call in C

This article explains the Fsync() system call or function flushes (passes) all the updates to the disk to reflect the changes made to a file.

Share Button
Read More
| by Arround The Web

Posix Mutex in C

Mutex, which refers to mutual exclusion, gives us a deadbolt lock that stops several users from simultaneously accessing and modifying the crucial data.

Share Button
Read More
| by Arround The Web

How to Reverse a String In C

We use the reverse string function whenever we are required to change or reverse the order of string in a program. How to reverse a string in C is discussed.

Share Button
Read More
| by Arround The Web

Function Pointers in C

The function pointers in the programming language C simply make the call to the function for which they are appointed as a pointer.

Share Button
Read More
| by Arround The Web

Fgets() Function in C

Practical tutorial on how to utilize the fgest() function to get the standard input from the user at runtime and how to get the data from a file stream.

Share Button
Read More
| by Arround The Web

Unicode in C

Practical tutorial on the Unicode character, its uses, how to operate it in C language, and how to encode a set of values into a Unicode emoji or character.

Share Button
Read More
| by Arround The Web

POSIX Semaphores in C

POSIX library of C has been designed to create a great harmonization among the processes and helps a lot in using multithreading within the programs.

Share Button
Read More