In the following program user would be asked to enter two strings and then the program would concatenate them. For concatenation we have not used… [Read More]
C Program to Sort set of strings in alphabetical order
In the following program user would be asked to enter a set of Strings and the program would sort and display them in ascending alphabetical… [Read More]
C Program to convert lowercase string to uppercase string
In the following program, user would be asked to enter a lower case String and the program would convert it into a Upper case String…. [Read More]
C Program to convert uppercase string to lowercase string
In the following C program, user would be asked to enter a String (it can be in complete uppercase or partial uppercase) and then the… [Read More]
C Program for bubble sorting
Bubble sort is also known as sinking sort. This algorithm compares each pair of adjacent items and swaps them if they are in the wrong… [Read More]
C Program to arrange numbers in ascending order
The following program prompts user for the n numbers, once the user is done entering those numbers, this program sorts and displays them in ascending… [Read More]
C program to find the length of a String without using function strlen()
In the following C program we are counting the number of characters in a given String to find out and display its length on console…. [Read More]
C Program to Convert Binary Number to Decimal Number
This program converts binary number to equivalent decimal number. Example: Program to convert binary to decimal In this program, we have created a user defined… [Read More]
C Program to check whether a given integer is positive or negative
In this article, we will write a C Program to check whether a given integer is positive or negative. For example, if user enters -5… [Read More]
C program to calculate and print the value of nPr
In this article, we will write a C program to calculate and print the value of nPr. The formula is: nPr = n! / (n – r)!,… [Read More]
C program to calculate and print the value of nCr
In this article, we will write a C program to calculate and print the value of nCr. The formula of nCr is: nCr = n!… [Read More]
C Program to find largest element of an Array
In this article, we will write a C program to find the largest element of an array. For example, if an array contains these elements… [Read More]
C Program to display Fibonacci series
In this tutorial, we will learn how to write a C Program to display fibonacci series. The Fibonacci series is a sequence of numbers in… [Read More]
C program to Reverse a String using recursion
In this article, we will write a C program to reverse a string using recursion. A function calling itself with smaller instances is called recursion…. [Read More]
C Program to find prime numbers in a given range
In this article, we will write a C Program to find prime numbers in a given range. For example, if user enters the range from… [Read More]
- « Previous Page
- 1
- …
- 4
- 5
- 6
- 7
- Next Page »