## C Program to find factorial of a number using call by reference

In this program, You will learn how to find a factorial of a number using a call by Reference in c. Call by Reference void fact(int n, int *f){ //statement…

Continue Reading C Program to find factorial of a number using call by reference

## C Program to swap two numbers without using a third variable with a call by reference

In this program, You will learn how to swap two numbers without using a third variable with a call by reference in c. Call by Reference void swap(int *x, int…

Continue Reading C Program to swap two numbers without using a third variable with a call by reference

## C Program to swap two numbers using call by reference

In this program, You will learn how to swap two numbers using a call by reference in c. Call by Reference void swap(int *x, int *y) { statement } Example:…

Continue Reading C Program to swap two numbers using call by reference

## C Program to check number is even or odd using call by reference

In this program, You will learn how to check number is even or odd using call by reference in c. Call by Reference void check(int n, int *p){ statement }…

Continue Reading C Program to check number is even or odd using call by reference

## C Program to add two numbers using call by reference

In this program, You will learn how to add two numbers using call by reference in c. Call by Reference void sum(int a, int b, int *s){ statement } Example:…

Continue Reading C Program to add two numbers using call by reference

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

In this program, You will learn how to check number is a palindrome or not using pointers in c. Some list is : 11 22 33 121 131 Example: How…

Continue Reading C Program to check number is a palindrome or not using pointers

## C Program to reverse a number using pointers

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

Continue Reading C Program to reverse a number using pointers

## C Program to swap two numbers using pointers

In this program, You will learn how to swap two numbers using pointers in c. Before swap: 15 10 After swap: 10 15 Example: How to swap two numbers using…

Continue Reading C Program to swap two numbers using pointers

## C Program to add two numbers using pointers

In this program, You will learn how to add two numbers using pointers in c. 25 = 15 + 10 30 = 10 + 20 Example: How to add two…