What is Temporary Variable

| Last Updated: | In: C Programming Tutorial, C++ Tutorial

A temporary variable is a variable which holds the data for very short time, usually, it used to hold data temporary that will soon be discarded in the computer programming language. See the below example, how to use the...


Calculate the Length of a String in C

| Last Updated: | In: C Programming Tutorial

In this tutorial, you will learn how to calculate the length of a string in c programming language. To the better understand, you should have the basic knowledge of C programming. If you have just started learning c prog...


C Program to Find the Simple Interest

| Last Updated: | In: C Programming Tutorial

This program will calculate the simple interest from the principal amount entered by the user while executing this program. Below is the formula to calculate the simple interest: C Program to find the simple inter...


C Program to Merge Two arrays

| Last Updated: | In: 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 and print the output. C Program to Mer...


C Program to Calculate the Power of a Number

| Last Updated: | In: 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 number this program will calcul...


C Program to Swap Two Numbers

| Last Updated: | In: 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 [crayon-599d3824c4...


Push an Element in an Array Using C

| Last Updated: | In: C Programming Tutorial

By using the below c program you can insert an element into the current array, on which position you want. First, you need to create the array, then enter the element of an array and after that enter the element and the ...