C Programs


1 ) Write a program to check whether a given number is Amstrong number or not

2) Write a program of Multiplication table from 1 to 10

3) Write a program to input and display an array of 10 elements

4) Write a program to addition of 10 elements using an array

5) Write a program to find out maximum and minimum value of an array of 10 elements

6)  Write a program to find out a given number is present or not in a given array

7) Write a program to display all characters and its ascii value from A to z

8) Write a program to sort an array using Bubble Sort

9) Write a program to check whether a given character is alphabate or digit or
special character

10) Write a program to sort characters in a given string

11) Write a program of circular matrix of size N from outside to inside

12)  Count Group

13) Write a program to concate two strings without using inbuilt function

14) Write a program to convert a given Decimal number to Binary number

15) Write a program to convert a given Decimal number to Binary, Octal, Hexadecimal number

16) Write a program to delete a word from a given sentence.

17) Write a program to delete duplicate character from a sentence

18) Write a program to find out factorial of a number using recursion funciton

19) Write a program to find out fibonacci series of N numbers

20) Write a program to find out a given character is Capital, Small, Digit or Special Symbol

21) Write a program to display Floyd's Triangle of N Rows

22) Write a program to display 1st letter of each word.

23)  Write a program to find out a given year is leap year or not

24) Write a program to input and display in a matrix

25) Write a program to find out maximum of 2 numbers

26) Write a program to find out maximum and minimum value from a matrix

`27)  Write a program to find out given string is palindrome or not

28) Write a program to find out multiplication of 2 matrices

29) Write a program to find out a given number is perfect number or not

30) Write a program to check a given number is prime number or not

31) Write a program to replace a word from a sentence

32) /*Write a program that fills a matrix as follows

1. Upper left triangle with +1s
2. Lower right triangle with -1s
3. Right to left diagonal with zeros
Display the contents of the matrix using not more than 2 printf statements*/

33) Write a program to calculate row wise and column wise addition of a matrix

34) Write a program to search a number in given 1-dim array

35) /*Define a structure called cricket that will describe the following information:
player name
team name
batting average
Using cricket, declare an array player with 5 elements and write a program to read the information about tall the 5 players and print a team-wise list containing names of player with their batting average.*/

36) Write a program to display all words from a sentence

37) Write a program to sum of 1st and last digit of 4 digit number


38) Write a program to display an array in ascending order using bubble sort.

39) Write a program to find out transpose of a matrix

40) Write a program to find out addition of 2 matrices

41) Row wise Sorting of Martix

42) Write a program of circular matrix of size N from inside to outside

43) Write a program to convert a given Decimal number to Octal number

44) Write a program to convert a given Decimal number to Hexadecimal number

Download Here :





No comments:

Post a Comment