C program to find first two largest elements of an array

C Program To Find First Two Largest Elements Of Array

In this tutorial, you will learn how to write C program to find first two largest numbers in a given array. Below are the approach which we will be follow to write our program: How our program will behave? As we have already seen above our logic to find the first two maximum number of … Read more

C program to check two arrays is equal in size or not

C Program To Check Two Arrays Is Equal In Size Or Not

In this tutorial, you will learn how to write C program to compare two arrays and check that they are equal in size or not. Below are the approach which we will be follow to achieve our goal: How our program will behave? As we have already seen above our logic to check the size … Read more

C Program to find which number is not present in second array

C Program To Find Which Number Is Not Present In Second Array

In this tutorial we will see, Given two arrays 1,2,3,4,5 and 2,3,1,0,5 find which number is not present in the second array. Means in general in this tutorial, you will learn how to write C program to find the missing number in second array. This program is very simple and easy. As we have fixed … Read more

Anagram program in C with explanation

In this tutorial, you will learn how to write a program in the C to check the given strings are Anagram or not. The Complete logic behind it is : Now before moving on writing the program first you should also know What is Anagram in String? Two strings can be called Anagram if the … Read more

C program to count the occurrences of a character in a string

C Program To Count The Occurrences Of Given Character In a String

Ans:  In this tutorial, you will learn writing program to  count occurrences of a character in a string. The Complete logic behind to count character in a string is given below : How our program will behave? Our program will take a string as an input. A string could be with space or without space.And … Read more

Prime number program in C with explanation

C Program to Check given number is Prime number or not

In this tutorial we are going to learn how to write a program to check whether a given integer number by user is a prime number or not in C programming language. If given number is prime then our logic will assign value 0 to a temp variable and will print “number is prime” and … Read more