Tag: C Programs

C++ Program to Find Factorial of a Number using Iteration

In this C++ program, we will have a look at the factorial of a number in C++ using Iteration. Iteration is the process of the repetition of a method in order to generate a  sequence…

Factorial of a Number in C++ using Recursion

In this C++ program, we will have a look at the factorial of a number in C++ using Recursion. If a function is called over and over again, the function is regarded as the Recursive…

C++ Programs

C++ Programs are important to practice in order to qualify any technical interviews. These C++ programs concentrate on all areas of C++ programming language covering all the topics in C++. List of C++ Programs 1)…

Compare Two Arrays In C Programming

Let’s have a look at C Program to Compare Two Arrays. The output of the program will be “They are equal” if both the arrays are equal otherwise it will say “They are not equal”.…

Check whether a number has consecutive 0’s in C++

In this C++ Program, we will check if the given number has consecutive 0’s . C++ Program to check whether a number has a consecutive 0’s #include<bits/stdc++.h> using namespace std; int toK(int N, int K)…

Variables in C programming language

C Program to Read Two Integers M and N & Swap their Values

C Program to Check if a given Integer is Positive or Negative

C Program to Calculate the Sum of Odd & Even Numbers

C Program to Check if a given Integer is Odd or Even

Shopping cart