Basics of C Programming Language


C programming language was developed in 1972 by Dennis Ritchie at bell laboratories of AT&T (American Telephone & Telegraph), located in the U.S.A. 

Dennis Ritchie is known as the founder of the c language.


Theroy:

1. History of C

2. What is C Programming ? 
 
Sample Programs:

1. Hello World - with Explanation 

2. Addition | Subtraction | Multiplication | Division 

3. Anagram in C 

4. Tests whether a number is divisible by 11 and 9 or not  

5. Solve Tower of Hanoi Problem using Recursion  

6. Find the Factorial of a Number by using Tail Recursive Method 

7. String and Recursion 

8. Find GCD of Two Numbers

9. Generate Fibonacci Series  

10. Raise a Floating Point Number to a Positive Integer

11. Print the Prime Factors 

12. Convert a Positive Decimal Number to Binary, Octal or Hexadecimal

13. Series : 1 + 2 + 3 + 4 + 5 +...  

14. Display Integer as Sequence of Digits and Find Sum of its Digits  

15. Display Numbers from 1 to n and their Sum  

16. Swap Two Strings 

17. Generate and Print Armstrong Numbers 

18. Find Maximum Element in Array using Pointers 

19. Find Maximum Element in Array  

20. Compare Two Strings without using strcmp  

21. Compare Two Strings using Pointers  

22. Compare Two Strings using strcmp  

23. Find the Factorial of a Number by Recursive Method 

24. Understand How an Array of Structures is Sent to a Function  

25. Understand How a Structure Variable is Returned from a Function  

26. Understand How a Pointer to Structure is Returned from a Function  

27. Understand How a Pointer to Structure Variable is Sent to a Function  

28. Understand How a Structure Variable is Sent to a Function  

29. Understand Arrays within Structures  

30. Understand Pointers to Structures  

31. Understand How Structure Members are Sent to a Function  

32. Display the Values of Structure Members  

33. Assign a Structure Variable to another Structure Variable  

34. Understand Array of Structures  

35. Understand Dynamic Allocation of Memory  

36. Understand the Use of realloc() Function  

37. Array is Passed to a Function, the Receiving Argument is Declared as a Pointer  

38. Array of Pointers 

39. Show How to Return More than One Value from a Function using Call by Reference  

40. Show a Function that Returns Pointer  

41. Show that changes to the Array made inside the Function affect the Original Array  

42. Call by Value  

43. Call by Reference  

44. Print the Value and Address of the Elements of an Array  

45. Print the Value and Address of Elements of an Array using Pointer Notation  

46. Check Leap Year  


47. Dereference Pointer Variables  

48. Understand Pointer to Pointer  

 


50. Pass an Array to a Function  

51. Pass Array Elements to a Function  

52. Find the Largest and Smallest Number in an Array  

53. Reverse the Elements of an Array  

54. Input Values into an Array and Display them  

55. All Substrings of a String  

56. Print Date  

57. C Substring  

 


59. Swapping of Two Numbers without Third Variable  

60. Swap Two Numbers using Pointers  

61. Swapping Numbers using Call by Reference  

 


63. Swaping of Two Numbers in C  

64. Sort a String in Alphabetic Order  

65. Reverse a String using Pointers  

66. Reverse a String using Recursion  

67. Reverse String  

68. Reverse an Array  

69. Reverse a Number  

70. Remove Vowels in String  

71. Remove Spaces, Blanks from a String  

72. Print Patterns of Numbers and Stars  

73. Pascal Triangle  

74. Print Diamond Pattern  

75. Floyds Triangle  

 


77. Palindrome Number  

78. Insert an Element in an Array  

79. Generate Random Numbers  

80. Fibonacci Series in C using For Loop  

81. Prime Number using Function  

82. Prime Number 

83. Find String Length  

84. Find String Length without strlen  

85. Program for Palindrome Number  

86. Find nCr using Function  

87. Find Minimum Element in Array  

88. Find Minimum Element in Array using Pointers  

89. Factorial Program in C using Function  

90. Factorial Program in C using Recursion 

91. Find Frequency of Characters in a String  

92. Factorial Program 

93. Armstrong Number  

94. Delete an Element from an Array  

95. Copy a String using Pointers  

96. Copy a String 

97. Decimal to Binary Conversion in a String  

98. Decimal to Binary Conversion 

99. Concatenation without strcat 

100. Concatenate Strings  

101. Check Whether Input Alphabet is a Vowel or Not 

Post a Comment

0 Comments