C

C is a general-purpose programming language used for system programming, libraries, games and cross-platform.

Creating Resource Groups In Azure Using Terraform

In this blog, you will learn how to create Resource Groups in Azure using Terraform.

IBM C/C++ & Fortran compilers to adopt LLVM open source infrastructure

Combining IBM’s strength in compiler optimization technology with LLVM open source infrastructure. IBM C/C++ and Fortran compilers to adopt LLVM open source infrastructure. Clang is the open source C/C++ frontend for the LLVM project and provides full support for the latest language standards. IBM intends to fully incorporate the LLVM Core and Clang sub-projects in future C/C++ offerings on IBM z/OS®, Linux on Power, IBM AIX®, and IBM i (with PASE) platforms.

Linear Vs Binary Search + Code in C Language (With Notes)

Linear vs Binary search algorithm: In this video, we will see how to code linear search (which runs in O(n)) and binary search (which runs in O(log n)) in C programming language

C Program to Find Largest Element in an Array

C program to find largest element of an array: This program will teach you everything you need to understand about finding largest element of an array!

Enumeration in C | Enum in C | How to use enums in C

In can handle files in C programming. C supports many functions that allows us to perform basic file operations like Creating a file, Opening a file , Reading data from a file, Writing data to a file, Closing a file, Renaming a file and Deleting a file. C Programming Language is the most popular computer language and most used programming language till now. It is very simple and elegant language.

Exporting C APIs from Zig, D, and Nim

Let's dive into exporting C APIs from Zig, D, and Nim. In addition, we also discuss C++ and Rust as well as consume the libraries from Python.

How to Write a Minimal Unit Testing Framework in C++

A Functional C++ Unit Testing Framework in Under 70 Lines of Code

Why QEMU Should Move from C to Rust

In this post I will argue for using Rust as a safer language that prevents these classes of bugs in C programming. Rust has matured, its ecosystem is growing and healthy, and there are virtualization projects like Crosvm, Firecracker, and cloud-hypervisor that prove Rust is an effective language for writing Virtual Machine Monitors (VMM). In the QEMU community Paolo Bonzini and Sergio Lopez's work on rust-vmm and vhost-user code inspired me to look more closely at moving away from C.

C printf() Function - Displaying Output on the Console - JournalDev

Hey, all. In this article, we will be focusing on C printf() function in detail. Be it any programming language, we always require the user interaction with the system through the console or interface. In C programming, the same can be achieved through printf() function.

Boolean in C - A Comprehensive Guide

In this article, we will focusing on an important topic of C programming — Boolean in C. We often come across situations wherein we need to display the outcome of any action or activity in terms of logical propositions or statements such as ‘YES‘ or ‘NO‘. In the programming scenarios, we can achieve the same through Boolean data type in C programming.

Variadic Function in C Programming

Function with variable number of arguments. If you ever coded in C programming language, you might be wondering how the standard functions like printf() and scanf() can accept variable number of arguments in the function call. These functions which can accept variable number of arguments is known as variadic / varargs function.

Variadic functions in C

Variadic Function are those functions which takes variable number of arguments, as many of us are always curious about how printf and scanf works as we can call them with variable number of arguments.

Union in C - All you need to know!

Today, we discuss one of the most advanced topics in the list of C programming - Union. Union in C, is a user defined datatype that enables the user to store elements of different types into it altogether. We can define various data members/variables within, but only one data variable can occupy the memory in the union at a time.

The scanf() function in C - Accepting userinput in C

In this article, we will be focusing on the scanf() function in C in detail. Be it any programming language, we always need user input, in order to make it work with a dynamic set of values. This is where the scanf() function in C comes into picture. The scanf() function enables the programmer to accept formatted inputs to the application or production code. Moreover, by using this function, the users can provide dynamic input values to the application.

What is C programming language?

C is a computer programming language. That means that you can use C to create lists of instructions for a computer to follow. C is one of thousands of programming languages currently in use. C has been around for several decades and has won widespread acceptance because it gives programmers maximum control and efficiency. C is an easy language to learn. It is a bit more cryptic in its style than some other languages, but you get beyond that fairly quickly.

Understanding the size_t datatype in C / C++

In this article, we’ll be taking a look at understanding the size_t datatype in C/C++. When you encounter the function prototype of a lot of C/C++ library functions, you may be wondering what exactly this stands for. Let’s understand what it means, using some illustrative examples!

Matrix multiplication in C and the impact of cache locality on performance

The impact of cache locality on performance. Matrix multiplication is a piece of cake for anybody in the field of Computer Science. How difficult can it be? It is just a matter of creating 2D arrays, populating it with data, and finally a nested loop. You would be amazed to hear that how you implement the matrix multiplication has a significant impact on the elapsed time.

How JavaScript Turns Complex Memory Management into Magic

How JavaScript Turns Complex Memory Management into Magic. Memory Management and Garbage Collection. Inprogramming languages like C and C++, there are two types of memory allocation: static and dynamic. Static memory allocation is what happens when we create a global or local variable with a single fixed size.

How to find the length of a given string in C

In this tutorial, we are going to learn about two different ways to find the length of a string in C. Using the str_len() function The built-in str_len() function helps us to find the length of a given string that is defined inside the string.h header file.

C++ documentation with Doxygen/CMake/Sphinx/Breathe

This is the final chapter in this 3 part series on documentation for C++ libraries in the ReadTheDocs theme hosted on GitHub . The final website is here. 3. [This part] Getting GitHub actions to automatically build and host our documentation for us.