C Program for simple calculator, using switch statement

C program to simulate a simple calculator using switch statement.  The calculator should be able to perform basic arithmetic operations like addition, subtraction, multiplication, and division only on integers. Error message should be reported, if any attempt is made to divide by zero. (Using switch statement) . Read more about C Programming Language . Read …

C Program To Sort An Array Using Bubble Sort

C Program To Sort An Array Using Bubble Sort. Bubble Sort is the simplest and easiest sorting technique. In this technique, the two successive items A[i] and A[i+1] are exchanged whenever A[i]>=A[i+1]. The larger values sink to the bottom of the array and hence it is called sinking sort. The end of each pass smaller …

Binary search in C

C Program to implement Binary search. Binary search technique is simple searching technique which can be applied if the items to be compared are either in ascending order or descending order. The general idea used in binary search is similar to the way we search for the telephone number of a person in the telephone …

Print “Hello World” Without Using Semicolon

How to Write a “Hello World” C program without using semicolon?Asked in various interviews…Read more about C Programming Language . Read more Similar C ProgramsC Interview QuestionsNumber Theory  C Strings You can easily select the code by double clicking on the code area above. To get regular updates on new C programs, you can Follow …