Skip to main content

C Programs

C Programs Frequently Asked In Interviews.


This section covers C programs often asked in campus interviews and freshers walk-in. It helps job seekers who are about to attend TECHNICAL interview round.

Here you will find simple C programming questions with answers basically asked in technical interviews.


1. C Program To Print Welcome Message.
2. C Program To Accept & Display A Number.
3. C Program To Add Two Numbers.
4. C Program To Perform Arithmetic Operations.
5. C Program To Print Sum Of Digits In A Number.


6. C Program To Find The Sum Of N Numbers.

7. C Program To Print Sum Of Series 1 + 3 + 5 + …. N.
8. C Program To Print The System Date.
9. C Program To Swap Two Numbers Using Temporary Variables.
10. C Program To Swap Two Numbers Without Using Temporary Variables.


11. C Program To Read Two Numbers And Print The Sum Of Given Two Numbers.
12. C Program To Accept Student Roll No, Marks in 3 Subjects and Calculate Total, Average and Print it.
13. C Program To Read Three Numbers And Print The Biggest Of Given Three Numbers.
14. C Program To Print Sum Of Individual Digits Of Given Number.
15. C Program To Accept A Three Digit Number & Print The Sum Of Individual Digits.



16. C Program To Print First Ten(10) Natural Numbers.
17. C Program to print natural numbers from 1 to 10 in reverse order.
18. C Program to print sum of the natural numbers from 1 to 10.

19. C Program to print ODD numbers from 1 to 10.
20. C Program to accept a number and print mathematical table of the given no.

21. C Program to print 1 to 10 mathematical tables.
22. C Program to accept a character in any case and print it in another case.
23. C Program to print natural number from 1 to 10 by using while loop.

24. C Program To Find Area & Circumference Of A Circle.
25. C Program To Find The Area Of A Rectangle (Using Functions).



26. C Program To Find Factorial Of A Number.
27. C Program To Print Fibonacci Series Upto 100.
28. C Program To Calculate Simple Interest.
29. C Program To Check Whether A Number Is Prime Or Not.
30. C Program to print prime numbers between 1 to 100.

31. C Program To Print A Semicolon Without Using A Semicolon.
32. C Program To Display Function Without Using The Main Function.
33. C Program To Print Any Print Statement Without Using Semicolon.
34. C Program To Display Its Own Source Code As Its Output.
35. C Program To Get IP Address.


36. C program To Accept An Integer & Reverse It.
37. C Program To Convert Given Number Of Days To A Measure Of Time Given In Years, Weeks & Days.



38. C Program To Check Whether A Number Is Even Or Not.
39. C Program To Find Greatest Among Three Numbers.
40. C Program To Compute The Reverse Of A Number.


41. C Program To Convert Degree Celsius Temperature To Fahrenheit.
42. C Program To Accept Floating Point Numbers & Print Average.

43. C Program To Find The Area Of A Triangle.
44. C Program To Sort A Given Set Of Numbers In Ascending Numbers.
45. C Program To Specify Size Of Commonly Used Data Types.


46. C Program To Accept Input & Multiply Two Numbers.
47. C Program To Count The Number Of Times A Digit Occurs In A Number Array.

48. C Program To Find The Roots Of A Quadratic Equation.
49. C Program To Count The Number Of Times The Largest Digit Occurs In A Number.
50. C Program To Print Number Of Vowels, Consonants, Characters, Words & Spaces In A Line Of Text.



51. C Program To Check Whether A Number Is Armstrong Or Not.
52. C Program To Display The Days In A Week (Using Switch...Case Statement).
53. C Program To Find The Square Of A Number (Using Functions).

54. C Program To Find Gross Salary.
55. C Program To Check Whether A Year Is A Leap Year Or Not.



56. C Program To Add Complex Numbers.
57. C Program To Display A Sequence Using Stars.
58. C Program To Print A Star Pyramid.
59. C Program To Print Floyd’s Triangle.

60. C Program To Illustrate The Concept Of Unions.


61. C Program To Find The Size Of A Union.
62. C Program to print numeric pyramid.
63. C Program to print numerical pyramid.
64. C Program to print numerical diamond.
65. C Program to print character pyramid.


66. C Program to print character diamond.
67. C Program to find biggest of two no by using ternary operator.
68. C Program to find biggest of four nos. by using Ternary Operator.
69. C Program to find smallest of four nos. by using Ternary Operator.
70. C Program to accept a year and check the whether the given year is a leap year or not by using ternary operator.


71. C Program To Accept A Character In Uppercase & Print In Lowercase.
72. C Program For Entering An Array Of Elements.
73. C Program For Deleting An Element From An Array.
74. C Program For Inserting An Element In An Array.
75. C Program To Count Frequency Of Elements In An Array.


76. C Program On Two Dimensional (2-D) Array / Matrix.

77. C Program To Find Transpose a 3 * 2 matrix.
78. C Program To Multiply Two 3 * 3 Matrix.
79. C Program To Add Two 3 * 3 Matrix.
80. C Program To Print Upper Triangle.

81. C Program to accept values into 3 dimensional array and print.
82. C Program to accept two 3 dimensional array and store addition of those into the third 3-D array .
83. C Program To Implement 8 Queens Problem Using Arrays, Pointers & Functions.
84. C Program To Display Array Of Strings.
85. C Program To Count The Number Of Times A Digit Occurs In A Number Array.

86. C Program To Accept A String & Display It.
87. C Program To Find The Length Of A String.
88. C Program To Concatenate Two Strings.
89. C Program To Compare Two Strings.
90. C Program To Swap Two Strings.


91. C Program To Swap Two Strings Using strcpy() Function.
92. C Program To Sort A Given Number Of Strings Using strcmp() Function.
93. C Program To Check Whether A String Is Palindrome Or Not.
94. C Program To Print The Reverse Of A String.
95. C Program To Join Two Strings.


96. C Program To Display Array Of Strings.
97. C Program To Convert String To An Integer Using atoi() Function.
98. C Program To Accept A String & Display In Reverse.
99. C Program To Accept A String & Display Its Alternate Characters.
100. C Program To Accept A String & Display Alternate Characters In Either Case.


101. C Program To Accept A String & Display It's Substring.
102. C Program To Accept A String & Display It's Alternate Characters In Reverse.
103. C Program To Accept Two Strings & Display The Largest String.
104. C Program To Accept A String & Display Vowels.
105. C Program To Accept A String & Display Number Of Vowels.


106. C Program To Accept A String & Display Number Of Each Vowels.
107. C Program To Accept A String & Find Out Whether This Character Is Present In The String.
108. C Program To Find Out The No. Of Times A Character Is Present In The String.



109. C Program To Understand Working Of Address Concept.
110. C Program On Use Of Array & Pointer Concept Together.


111. C Program On Pointers & 2 - Dimensional Array.
112. C Program On Strings Into Array Of Pointers.
113. C Program To Add Two Numbers Using Pointers.
114. C Program To Accept & Add Ten Numbers Using Pointers.
115. C Program To Accept & Add Ten Numbers Using Pointers.


116. C Program To Implement Recursive Algorithm Using Pointers.
117. C Program With Algorithm To Implement Bubble Sort Using Pointers.
118. C Program To Implement Selection Sort Using Pointers, Arrays & Functions.
119. C Program to sort the entered numbers using bubble sort.
120. C Program To Implement Minimum Spanning Tree Using Functions, Pointers & Structures.


121. C Program To Implement 8 Queens Problem Using Arrays, Pointers & Functions.
122. C Program To Implement Quick Sort Using Pointers, Functions & Arrays.
123. C Program To Implement Binary Search Without Using Recursive Function.
124. C Program To Implement Binary Search Using Recursive Function.
125. C Program To Implement Merge Sort Using Divide & Conquer Strategy.


126. C Program To Implement Selection Sort Using Pointers, Arrays & Functions.
127. C Program With Algorithm To Implement Bubble Sort Using Pointers.
128. C Program To Implement Recursive Algorithm Using Pointers.


LABELS: c programs asked in interviews, c technical interview questions with answers, programs asked in technical interview, programs asked in technical interview, c programs asked in interviews, c programs asked in interviews with answers, c programs asked in interviews with answers, c programs asked in interviews download, c programs asked in interviews with answers, c programs asked in interviews, important c programs asked in interviews, basic c programs asked in interview, c programs asked in technical interview, basic c programs asked in interviews, c programs asked in interviews with code

Comments

Post a Comment

Please share your opinions and suggestions or your experience in the comments section. This way we can all help each other...

Experienced guys can share their resumes at admin@interview-made-easy.com

Popular posts from this blog

Tell Me Something About Yourself - Interview Answers.

Try to introduce some of your most important employment-oriented skills as well as your education and accomplishments to the interviewer. Answer to this question is very important because it positions you for the rest of the interview . That's why this statement is often called the "Positioning Statement". One should take the opportunity to show his/her communication skills by speaking clearly and concisely in an organized manner. Since there is no right or wrong answer for this question hence it is important to appear friendly. YOUR ANSWERS CAN BE: 1) I am a person with strong interpersonal skills and have the ability to get along well with people . I enjoy challenges and looking for creative solutions to problems. 2) Besides the details given in my resume, I believe in character values, vision and action. I am quick in learning from mistakes. I am confident that the various tests that you have conducted will corroborate my competencies apti

HR Interview Questions With Simple Answers - Top 30.

Here are some very important HR questions which are often asked during Interviews and I believe these answers can really help you to get through....... Click on them to view the answer: 1) Tell Me Something About Yourself ? 2) What Are Your Strengths? 3) What Are Your Weaknesses? 4) How Do You Handle Pressure / Can You Work Well Under Pressure? 5) What Are Your Short Term Goals? 6) What Are Your Long Term Goals? 7) Where Do You See After 5 Years? 8) Why Should We Hire You? 9) What Is Your Salary Expectation? 10) Why Do You Want To Leave Your Current Job? 11) Do You Prefer To Work Alone Or As A Team Player? 12) What Made You Choose Your Major / Stream? 13) Why Didn’t You Pursue A Career In Your Major / Stream? 14) Why Do You Want To Work For Us? 15) Are You Willing To Travel? 16) Are You Willing To Take Risks? 17) What Do You Know About This Company? 18) What Do You Seek From A Job? 19) How Do You Evaluate Success? 20) During Your Performance Rev

Why Should We Hire You? - Interview Answers

The interviewer asks this question just to find out how your skills, experience and knowledge can add value to the job. Well to answer this question you need to learn what they are looking for and then tie them with your strengths. This ensures that you are a viable fit for the position. The more detail you give the stronger your answers will be. Try to summarize all your accomplishments and relate what makes you unique. The question can also be " Why should we hire you over other candidates? " OR "Why should we hire you over the others waiting to be interviewed?" Your answers can be: 1) You should hire me because I’m the best person for the job. I realize that there are likely other candidates who also have the ability to do this job. Yet I bring an additional quality that makes me the best person for the job - my passion for excellence. I am passionately committed to producing truly class results. 2) I believe I’m the perfect fit for this