## C Program to find the sum of array elements

In this program, You will learn how to find sum of array elements in c. for (int i = 0; i < 10; i++) { s = s + arr[i];…

## C Program using an array with a loop

In this program, You will learn how to implement an array with a loop in c. for (int i = 0; i < 10; i++) { cin >> arr[i]; }…

## C Program for function with argument and no return value

In this program, You will learn how to create a function with argument and no return value in c. void sum(int x, int y) { //statement } Example: How to…

## C Program for function with argument and return value

In this program, You will learn how to create a function with argument and return value in c. int sum(int x, int y) { return x + y; } Example:…

## C Program to find the sum of digits of a number using the function

In this program, You will learn how to find the sum of digits of a number using a function in c. 1234 => 1 + 2 + 3 + 4…

## C Program to check a number is Armstrong or not using the function

In this program, You will learn how to check a number is Armstrong or not using a function in c. Some list of Armstrong numbers is: 153, 370, 371, 407…

## C Program to check a number is prime or not using the function

In this program, You will learn how to check a number is prime or not using a function in c. Some list of prime numbers is: 2 3 5 7…

## C Program to check a number is a palindrome or not using the function

In this program, You will learn how to check a number is palindrome or not using a function in c. Some list of palindrome numbers is: 2 11 22 111…

## C Program to reverse a number using the function

In this program, You will learn how to reverse a number using a function in c. 123 => 321 456 => 654 Example: How to reverse a number using a…

## C Program to find factorial of a number using the function

In this program, You will learn how to find factorial of a number using a function in c. 3! = 1 * 2 * 3 4! = 1 * 2…