Implement your own itoa()

This blog post will teach you how to Implement your own itoa() function in C. The itoa() function is a non-standard function that converts an integer into a null-terminated string. I have already written a blog post on how to convert an integer to a string if you want you can check, an efficient way […]

Implement your own itoa() Read More »

Transpose of a Matrix in C

This blog post will teach you how to Transpose a Matrix in C with a programming example. You can obtain the “transpose” of a matrix by swapping the rows with columns and vice-versa. For example, Input: mat[][] = 8 2 13 14 15 6 3 8 9 Output: 8 14 13 2 15 8 13

Transpose of a Matrix in C Read More »

How to concatenate two strings in C

In this blog post, you will learn to concatenate two strings in C with and without the C library functions. C string is a sequence of characters terminated with a null character ‘\0’. Concatenating two strings means joining one string to another string. For example, Input: string1 =”Aticle”, string2=”World” Output: AticleWorld   The primary prerequisite

How to concatenate two strings in C Read More »

Implement Linear Search in C

In this blog post, you will learn what is linear search and how to implement linear search in C with the help of programming examples. So let’s first understand the linear search.   What is Linear Search? Some people also call it sequential search. It is a method for finding an element within a list.

Implement Linear Search in C Read More »

What is Access Specifiers in C++?

In this article, you will learn about C++ access specifiers with the help of programming examples and explanations. The access specifiers of C++ are public, private, and protected. Basically, the access specifier defines the access rules for class members. This rule is applicable until the end of the class or until another access specifier is

What is Access Specifiers in C++? Read More »

UART Interview Questions

In this article, I have tried to collect UART Interview questions that can be asked by your Interviewer. A UART is a chip for asynchronous serial communication. It takes bytes of data and transmits the individual bits in a sequential fashion with the help of a shift register. The shift register is the fundamental method

UART Interview Questions Read More »