You are on page 1of 70

1. To Check a Number Even or Not.

2. To Print Odd/Even Numbers to N Number.

3. To Print Sum of Odd & Even Numbers.

4. To Print Even & Odd Number with Their sum

5. Sum of Three Numbers

6. Sum of Three Numbers (in a single line input)

7. To Print Numbers in a Sequence

8. Marksheet (Total / Percent / Result)

9. To Display a Series that are divisible by 7

10. To Check whether a Number is Prime or Not.

11. To Print Prime Numbers from 1 to 100

12. To Print Prime Numbers from 1 to 100 & Their


sum

13. To Print First 10 Prime Numbers

14. To Display Fibonacci Series

15. To Print Factorial of a Given Number.

16. To Print Table.

17. To Swap the Numbers

18. To Reverse a Number

19. To Check whether a Number is Perfect or Not.

20. To Print All Perfect Numbers B/w 1 – 100.


21. To Print Pattern. Page 1 of 69

22. To Print Pattern.

23. To Print Pattern.

24. To Print Pattern.

25. To Print Pattern.

26. To Print Pattern.

27. To Print Pattern.

28. To Print Pattern.

29. To Print Pattern (Triangle).

30. To Print Pattern (Diamond).

31. To Print Pattern (Diamond) by entering rows


Rows.

32. To Check Amstrong Number or Not.

33. To Print Amstrong Number between 1 to 1000.

34. End of File Function.

35. To Read Value as per ASCII Number.

36. To Print Amstrong Number between 1 to 1000


with Sum.

37. To Print Sum of a Given Digit (Each Number 123


= 1+2+3).

38. To Print Sum of a Given Digit (Each ODD


Number 123 = 1+3=4).

39. Count Number of Lines Using EOF.


40. Count Number of Characters in a Line. Page 2 of 69

41. To Print Some Special Characters.

42. To Print Pattern.

43. To Print Pattern.

44. To Print Pattern.

45. To Print Pattern.

46. To Print Pattern.

47. To Print Pattern (Outer Traingle).

48. To Print Pattern (Outer Traingle).

49. To Print Pattern (Outer Traingle).

50. To Print Pattern (Outer Traingle).

51. To Print Pattern (Square with Blank Triangle).

52. To Print Pattern (Square with Blank).

53. To Print Pattern (Blank Triangle).

54. To Print Pattern (Blank Reverse Triangle).

55. To Print Pattern (Blank Diamond).

56. To Print Pattern (Cross Square).

57. To Count Number of Rows,Words,Alphabets.

58. Enter Input Using Array & Print Sum.

59. Enter Input Using Array & Print Reverse of it.

60. Enter Input Using Array & Print Sum, Avg, Max.
61. To find Max & Min in an Array. Page 3 of 69

62. To search a location of Value in an Array.

63. To Delete a Value in an Array and Reprint it.

64. To Search an Array Number and Display its


Value.

65. Sorting in an Array (Bubble Sorting Method).

66. Input 2 Arrays and Store it in 3rd Array.

67. To Remove Duplicate Values in an Array.

68. To Print Diamond Pattern with values (Outer 1).

69. Entering a Value in 2D Array and Print it.

70. To Add a Value Between an Array.

71. Data Transpose in 2D Array (Row – Col).

72. To Compare Two String Values (Same or Not).

73. Entering a Data in a 2D Array and Copy it in


Another Array.

74. Adding 2 Matrix (2D Array).

75. Copying String Value from 1 to Another.

76. Enter Two String Values and Copying 2nd one


into 1st One (Mannual)

77. Enter Two String Values and Copying 2nd one


into 1st One (Auto)

78. Enter Two String Values in Array and Copy it in


Third Array.
1. Switch Case Explained using Months.
79. Page 4 of 69
2.
80.
3. To Display Address and Values of two

4.
Variables using POINTERS.

81. Swap the two Values using POINTERS.

82. Call by Value Function (Always Return a


Value).

83. Call by Reference Function (No Value


Returned).

84. To Reverse a Sentence in a String.

85. To Reverse a Sentence in a String (Using


Pointers).

86. To Count Length of Sentence (Using Pointers).

87. Copying String Value from 1 to Another (Using


Pointers).

88. Search a Value in an Array and Find its


Location (Using Pointers).

89. Bubble Sorting (Using Pointers).

90. Print First 20 Prime Numbers And Store it in an


Array.

91. What is the Day on 1st January as per Year


Input.

92. Input 2 Arrays & Merge it in 1st Array & then Sort
it.
a.
Page 5 of 69
93. Input 2 Arrays & Merge it in 1st Array & then Sort
5.
it (Using Pointers).
6.
7.
94. Input 2 Arrays & Merge it in 1st Array Using
8.
Function.

95. To Check Whether an Year is Leap or Not.

96. Removing Tags & Trail Spaces in a String (HTML


Parser).

97. Stone Paper Scissor Game.

98. Structure Example (Data Initialize) and Search


using Emp id.

99. Structure Example (Data Initialize – Type 2) and


Search using String.

100. Structure Input Data (Emp) Using Array and


display it (Example 1).

101. Structure Input Data (DriverDetails) Using


Array and display it (Example 2).

102. Structure Input Data (Student Details) Using


Array and Bubble Sort by Roll no.

103. Putc(insert char in file) & Getc (Read data


from file) in File Handling.

104. Fputs(insert String in file) & Fgets (Read String


frm file) in File Handling.

105. Putw(insert int in file) & Getw (Read int from


file) in File Handling.
9.
106. Fprintf (insert mix datatypes in a file) & Fscanf Page 6 of 69

(Read mix datatypes from file) in File Handling.

107. Fwrite(insert mix datatypes in a file) & Fread


(Read mix datatypes from file) in File Handling.

108. To Check Whether an Opened File is Exists or


not (File Handling).
1. To Check a Number Even or Not. Page 7 of 69

2. To Print Odd/Even Numbers to N Number.


3. To Print Sum of Odd & Even Numbers. Page 8 of 69

4. To Print Even & Odd Number with Their sum


5. Sum of Three Numbers Page 9 of 69

6. Sum of Three Numbers (in a single line input)

7. To Print Numbers in a Sequence


8. Marksheet (Total / Percent / Result) Page 10 of 69

9. To Display a Series that are divisible by 7


10. To Check whether a Number is Prime or Not. Page 11 of 69

11. To Print Prime Numbers from 1 to 100


12. To Print Prime Numbers from 1 to 100 & Their sum Page 12 of 69

13. To Print First 10 Prime Numbers


14. To Display Fibonacci Series Page 13 of 69

15. To Print Factorial of a Given Number.


16. To Print Table. Page 14 of 69

17. To Swap the Numbers


18. To Reverse a Number Page 15 of 69

19. To Check whether a Number is Perfect or Not.


Page 16 of 69

20. To Print All Perfect Numbers B/w 1 – 100.

21. To Print Pattern.


Page 17 of 69

22. To Print Pattern.

23. To Print Pattern.


24. To Print Pattern. Page 18 of 69

25. To Print Pattern.


26. To Print Pattern. Page 19 of 69

27. To Print Pattern.


28. To Print Pattern. Page 20 of 69

29. To Print Pattern (Triangle).


30. To Print Pattern (Diamond). Page 21 of 69
31. To Print Pattern (Diamond) by entering rows Rows. Page 22 of 69
32. To Check Amstrong Number or Not. Page 23 of 69

33. To Print Amstrong Number between 1 to 1000.


34. End of File Function. Page 24 of 69

35. To Read Value as per ASCII Number.


36. To Print Amstrong Number between 1 to 1000 with Sum.
Page 25 of 69

37. To Print Sum of a Given Digit (Each Number 123 = 1+2+3)


38. To Print Sum of a Given Digit (Each ODD Number 123 = 1+3=4)
Page 26 of 69

39. Count Number of Lines Using EOF.


40. Count Number of Characters in a Line. Page 27 of 69

41. To Print Some Special Characters.


42. To Print Pattern. Page 28 of 69

43. To Print Pattern.


44. To Print Pattern. Page 29 of 69
45. To Print Pattern. Page 30 of 69
46. To Print Pattern. Page 31 of 69
47. To Print Pattern (Outer Traingle). Page 32 of 69

48. To Print Pattern (Outer Traingle).


49. To Print Pattern (Outer Traingle). Page 33 of 69

50. To Print Pattern (Outer Traingle).


51. To Print Pattern (Square with Blank Triangle). Page 34 of 69
52. To Print Pattern (Square with Blank). Page 35 of 69

53. To Print Pattern (Blank Triangle).


54. To Print Pattern (Blank Reverse Triangle). Page 36 of 69

55. To Print Pattern (Blank Diamond).


56. To Print Pattern (Cross Square). Page 37 of 69

57. To Count Number of Rows,Words,Alphabets.


58. Enter Input Using Array & Print Sum. Page 38 of 69

59. Enter Input Using Array & Print Reverse of it.


60. Enter Input Using Array & Print Sum, Avg, Max. Page 39 of 69
61. To find Max & Min in an Array. Page 40 of 69

62. To search a location of Value in an Array.


63. To Delete a Value in an Array and Reprint it. Page 41 of 69
64. To Search an Array Number and Display its Value. Page 42 of 69

65. Sorting in an Array (Bubble Sorting Method).


66. Input 2 Arrays and Store it in 3rd Array. Page 43 of 69

67. To Remove Duplicate Values in an Array.


68. To Print Diamond Pattern with values (Outer 1). Page 44 of 69

69. Entering a Value in 2D Array and Print it.


70. To Add a Value Between an Array. Page 45 of 69
71. Data Transpose in 2D Array (Row – Col). Page 46 of 69

72. To Compare Two String Values (Same or Not).


73. Entering a Data in a 2D Array and Copy it in Another Array.
Page 47 of 69
74. Adding 2 Matrix (2D Array). Page 48 of 69
75. Copying String Value from 1 to Another. Page 49 of 69

76. Enter Two String Values and Copying 2nd one into 1st One (Mannual)
77. Enter Two String Values and Copying 2nd one into 1st One (Auto)
Page 50 of 69

78. Enter Two String Values in Array and Copy it in Third Array.
79. Switch Case Explained using Months. Page 51 of 69
80. To Display Address and Values of two Variables using POINTERS.
Page 52 of 69

81. Swap the two Values using POINTERS


82. Call by Value Function (Always Return a Value). Page 53 of 69

83. Call by Reference Function (No Value Returned).

84. To Reverse a Sentence in a String.


85. To Reverse a Sentence in a String (Using Pointers). Page 54 of 69

86. To Count Length of Sentence (Using Pointers).

87. Copying String Value from 1 to Another (Using Pointers).


88. Search a Value in an Array and Find its Location (Using Pointers).
Page 55 of 69
89. Bubble Sorting (Using Pointers). Page 56 of 69
90. Print First 20 Prime Numbers And Store it in an Array. Page 57 of 69

91. What is the Day on 1st January as per Year Input.


92. Input 2 Arrays & Merge it in 1st Array & then Sort it. Page 58 of 69
93. Input 2 Arrays & Merge it in 1st Array & then Sort it (Using Pointers).
Page 59 of 69
94. Input 2 Arrays & Merge it in 1st Array Using Function. Page 60 of 69

95. To Check Whether an Year is Leap or Not.


96. Removing Tags & Trail Spaces in a String (HTML Parser).Page 61 of 69
97. Stone Paper Scissor Game. Page 62 of 69
98. Structure Example (Data Initialize) and Search using EmpPage
id. 63 of 69
99. Structure Example (Data Initialize – Type 2) and Search usingPage
String.
64 of 69

100. Structure Input Data (Emp) Using Array and display it (Example 1).
101. Structure Input Data (DriverDetails) Using Array and display it
Page 65 of 69
(Example 2).
102. Structure Input Data (Student Details) Using Array and Bubble Sort by
Page 66 of 69
Roll no.
103. Putc(insert char in file) & Getc (Read data from file) in File Handling.
Page 67 of 69

104. Fputs(insert String in file) & Fgets (Read String frm file) in File Handling.
105. Putw(insert int in file) & Getw (Read int from file) in File Handling.
Page 68 of 69

106. Fprintf (insert mix datatypes in a file) & Fscanf (Read mix datatypes
from file) in File Handling.
107. Fwrite(insert mix datatypes in a file) & Fread (Read mix datatypes
Page 69 of 69
from file) in File Handling.

108. To Check Whether an Opened File is Exists or not (File Handling).

You might also like