Sunteți pe pagina 1din 5

Programming Questions

1. C Program to Compute Quotient and Remainder


2. C Program to Find the Size of int, float, double and char
3. C Program to Demonstrate the Working of Keyword long
4. C Program to Swap Two Numbers using pointer
5. C Program to Check Whether a Character is Vowel or Consonant
6. C Program to Find the Largest Number Among Three Numbers
7. C program to Find all Roots of a Quadratic equation
8. C Program to Check Whether a Number is Positive or Negative
9. C Program to Check Whether a Character is an Alphabet or not
10. C Program to Find Factorial of a Number
11. C Program to Generate Multiplication Table
12. C Program to Display Fibonacci Sequence
13. C Program to Find GCD of two Numbers
14. C Program to Find LCM of two Numbers
15. C Program to Display Characters from A to Z Using Loop
16. C Program to Count Number of Digits in an Integer
17. C Program to Reverse a Number
18. C Program to Calculate the Power of a Number
19. C Program to Check Whether a Number is Palindrome or Not
20. C Program to Check Whether a Number is Prime or Not
21. C Program to Display Prime Numbers Between Two Intervals
22. C Program to Check Armstrong Number
23. C Program to Display Armstrong Number Between Two Intervals
24. C Program to Display Factors of a Number
25. C Programming Code To Create Pyramid and Structure
26. C Program to Make a Simple Calculator Using switch...case
27. C Program to Display Prime Numbers Between Intervals Using Function
28. C Program to Check Prime or Armstrong Number Using User-defined Function
29. C Program to Check Whether a Number can be Expressed as Sum of Two Prime
Numbers
30. C Program to Find the Sum of Natural Numbers using Recursion
31. C Program to Find Factorial of a Number Using Recursion
32. C Program to Find G.C.D Using Recursion
33. C Program to Convert Binary Number to Decimal and vice-versa
34. C Program to Convert Octal Number to Decimal and vice-versa
35. C Program to Convert Binary Number to Octal and vice-versa
36. C program to Reverse a Sentence Using Recursion
37. C program to calculate the power using recursion
38. C Program to Calculate Average Using Arrays
39. C Program to Find Largest Element of an Array
40. C Program to Calculate Standard Deviation
41. C Program to Add Two Matrix Using Multi-dimensional Arrays
42. C Program to Multiply to Matrix Using Multi-dimensional Arrays
43. C Program to Find Transpose of a Matrix
44. C Program to Multiply two Matrices by Passing Matrix to a Function
45. C Program to Access Elements of an Array Using Pointer
46. C Program Swap Numbers in Cyclic Order Using Call by Reference
47. C Program to Find Largest Number Using Dynamic Memory Allocation
48. C Program to Find the Frequency of Characters in a String
49. C program to count the number of vowels, consonants and so on
50. C Program to Remove all Characters in a String Except Alphabet
51. C Program to Find the Length of a String
52. C Program to Concatenate Two Strings
53. C Program to Copy String Without Using strcpy()
54. C Program to Sort Elements in Lexicographical Order (Dictionary Order)
55. C Program to Store Information(name, roll and marks) of a Student Using Structure
56. C Program to Add Two Distances (in inch-feet) System Using Structures
57. C Program to Add Two Complex Numbers by Passing Structure to a Function
58. C Program to Calculate Difference Between Two Time Periods
59. C Program to Store Information of Students Using Structure
60. C Program to Store Information Using Structures with Dynamically Memory Allocation
61. C Program to Write a Sentence to a File
62. C Program to Read a Line From a File and Display it
63. C Program to Display its own Source Code as Output
64. C Programming Code To Create Pyramid and Pattern
65. ncR and nPr
66. Fibonacci series
67. Print floyd's triangle
68. Print pascal triangle
69. Maximum element in array
70. Minimum element in array
71. Linear search
72. Binary search
73. Reverse array
74. Insert element in array
75. Delete element from array
76. Merge arrays
77. Bubble sort
78. Insertion sort
79. Selection sort
80. Add matrices
81. Subtract matrices
82. Transpose matrix
83. Print string
84. String length
85. Compare strings
86. Concatenate strings
87. Reverse string
88. String to integer
89. Delete vowels
90. C substring
91. Check subsequence
92. Sort a string
93. Remove spaces
94. Change case
95. Swap strings
96. Character's frequency
97. Anagrams
98. Read file
99. Copy files
100. Merge two files
101. List files in a directory
102. Delete file
103. Random numbers
104. Add complex numbers
105. Print date
106. Get IP address
107. Shutdown computer
 Write a programs to print the following pattern:
108. Diamond
109. Pyramids of *, digits or alphabets
110. Hut star pattern
111. Diamond star pattern
112. Rhombus star pattern
113. Hollow pyramid star pattern
114. Binary rectangle pattern
115. Multiplication table triangle pattern
116. Prime number triangle pattern
117. Palindrome triangle pattern
118. Diamond star pattern
119. Pakistani Flag
120. A House
121. 1
232
34543
4567654
567898765
122.

123.

124.

S-ar putea să vă placă și