# C programs

## C Program to find One’s Complement of a Binary number

In this article, we are going to learn how to find the One’s Complement of a Binary number entered by the user. A binary number consists of 0s and 1s in its composition. We can get the One’s Complement of a Binary number by just inverting the 0s to 1s and 1s to 0s. It …

## C program to find twos complement of binary number

In this article, we are going to learn the C program to find twos complement of binary number entered by the user. A binary number consists of 0s and 1s in its composition. Two’s complement is the way every computer uses to represent negative integers. To get the two’s complement negative notation of an integer, …

## C program to Convert Binary to Octal number

In this article, we are going to learn how to convert a binary number to an Octal number. Here we are going to learn about two numbers one is binary and another is octal. Binary numbers are base 2 numbers and represented in 0s and 1s. Octal numbers are base 8 numbers and are represented …

## C program to convert Binary to Decimal number

In this article, we are going to learn how to convert a binary number to an equivalent decimal number. Here we are going to learn about two numbers one is binary and another is decimal. Binary numbers are base 2 numbers and represented in 0s and 1s. Decimal numbers are base 10 numbers and are …

## C program to convert Binary to Hexadecimal number

In this article, we are going to learn the C program to Convert Binary to Hexadecimal numbers. Here we are going to learn about two number systems one is binary and another is Hexadecimal. Binary numbers are base 2 numbers and represented in 0s and 1s. Hexadecimal numbers are base 16 numbers and represented in …

## C program to convert Octal to Binary number

In this article, we are going to learn the C program to convert Octal to an equivalent Binary number. Here we are going to learn about two number systems one is binary and another is octal. Binary numbers are base 2 numbers and represented in 0s and 1s. Octal numbers are base 8 numbers and …

## C program to convert Octal to Decimal number

In this article, we are going to learn how to convert an Octal number to an equivalent Decimal number. Here we are going to learn about two number systems one is octal and another is Decimal. Octal numbers are base 8 numbers. Decimal numbers are base 10 numbers and are represented in numbers from 0 …

## C program to convert Octal to Hexadecimal number

In this article, we are going to learn how to convert an Octal number to an equivalent Hexadecimal number. Here we are going to learn about two number systems one is octal and another is Hexadecimal. Octal numbers are base 8 numbers. Hexadecimal numbers are base 16 numbers and represented in numbers from 0 to …

## How to concatenate Strings in C

In this article, we are going to learn how to concatenate strings in the C language. We will learn to do this with the help of multiple techniques like: 3 Ways of how to concatenate Strings in C Concatenate Strings in C Using strcat() and strcpy() functions Concatenate Strings in C By Using memccpy() function …

## How to Find String Length in C

In this article, we are going to learn how to find string length in C language. We will learn this with the help of multiple techniques Find string length using loop in C language. Find string length using pointer functions in C language. Find string length using built in strlen() function. Find string length using …