How to Swap Two Numbers Without Third Variable in C#

Prem Tiwari - - C Sharp Tutorial


If you are a c# beginner or want to start learning the c# programming language, then this program will help you to understand the basics of c# programming. In this program, I will explain how …

How to display prime numbers using C++ program

Prem Tiwari - - C++ Tutorial


In the below program we have defined the checkPrimeNumber() function to check the prime number from the given maximum range of number by the user. This is a very easy program to display prime numbers …

C Program to Merge Two arrays

Prem Tiwari - - C Programming Tutorial


Someone asked me how to merge two arrays into one array by using the C programming language so that here we are sharing a C program which will merge the two arrays into one array …

C Program to Calculate the Power of a Number

Prem Tiwari - - C Programming Tutorial


By using the below C Program you can calculate the power of a number. After compilation and execution of this program, you will get the message to enter the number, on the basis of entered …

C Program to Swap Two Numbers

Prem Tiwari - - C Programming Tutorial


This C program will swap the two entered numbers by using the temporary variable. This is a simple & easy program in the programming language. See the below example: C Program to Swap Two Numbers …

C Program to Convert Binary to Octal

Prem Tiwari - - C Programming Tutorial


This program will convert the entered binary numbers into the octal number by using the C programing language. To understand this program, you should have the basic knowledge of C programing language. If you have …

Print Number Triangle in C

Prem Tiwari - - C Programming Tutorial


In the previous tutorial, I have shared a program to print the star triangle using recursion in c programing language. Like the Star triangle, I am going to share program to display the triangle using …

Check Leap Year in C

Prem Tiwari - - C Programming Tutorial


I assume that you have knowledge of C programing language operators and the If.. else statement of c programming. A leap year comes after every 4 years. In the mathematical term, you can say A …

Armstrong Number Program in C

Prem Tiwari - - C Programming Tutorial


Armstrong number is number which is the sum of its digit raised to the power of n itself. Here is the explanation: Then let’s check the given number 153 is an Armstrong Number or not …

If Else Statement in C

Prem Tiwari - - C Programming Tutorial


If Else Statement in C Programming Language In this tutorial, you will learn how to execute the If Else statement in C programming language. I have explained with some real time examples of If Else …

Reserve Keywords List C

Prem Tiwari - - C Programming Tutorial


Reserve Keywords List C Programming Language In every programming language, there are many reserved keywords which you can’t use to define as your own variable name. In this tutorial, I have explained the reserved keywords …

How to Calculate Gross Salary of a Person in C

Prem Tiwari - - C Programming Tutorial


Below program will find the gross salary of any entered basic salary of any person. How to Calculate Gross Salary of a Person in C

Below is the output of above program. Above program …

Prime Number Program in C

Prem Tiwari - - C Programming Tutorial


Keywords: prime c program, c program for prime numbers, c program to find prime numbers, a program for the prime number in c, c program for a prime number. In this example, you will learn …

Reverse Number Program in C

Prem Tiwari - - C Programming Tutorial


At the end of this page, you will see the output of below program. Below program will reverse the any given number as input by the user. Reverse Number Program in C

Output