C Progams
C Progams
1. C Program to Convert a Given Number of Days in terms of Years, Weeks & Days
2. C program to check given number is even or odd using If and Switch statement
5. C Program to Swap the Contents of two Numbers using Bitwise XOR Operation
Control Statements
10. C Program to Convert a Decimal Number to Binary and Count the Number of 1s
17. C Program to Find the GCD and LCM of Two Integers using Recursion
18. C Program to Find the Largest and Smallest Numbers in an Array of integers
19. C Program to Print All the Repeated Numbers with Frequency in an Array of integers
20. C Program to Find the count of Vowels and Consonants in a String
21. C Program to change case of all characters (upper to lower or lower to upper) in a given
string
23. C Program to Read a String and find the Sum of all Digits in the String
25. C Program to Print the Words Ending with Letter S in a given String
26. C Program to Count the Number of Occurrences of each Character Ignoring the Case of
Alphabets and Display them
31. C Program to find the Sum of each Row and each Column of a MxN Matrix
32. C Program to find the Sum of the Main and Opposite Diagonal Elements of a MxN
Matrix
Pointers
33. C Program to Calculate the Sum of the Array Elements using Pointer
37. C Program to search for a word in a given array of strings using pointers
39. C Program to implement Student structure that stores Roll No, Name, Branch, Year, Sem
etc.
40. C Program for implement Phone number search with each contact structure having Name
and phone number then display phone number of matching contact name
41. C Program to simulate Banking application that performs insertion, deletion and search
on array of customer structures that includes AC No., Name, Mobile No, Address etc.
42. C Program to implement simple union with an integer and array of two characters, then
swap the two characters and print the integer value before and after swapping
44. C Program to display its own Source Code as its Output along with number of lines and
words