Top 50 C Programs Asked in Interviews
Objective of the post Top 50 C Programs Asked in Interviews is to provide beginners as well as professionals a ready reckoner of popular C programs. What are Top 50 C Programs Asked in Interviews? We have tried to enlist here Top 50 C Programs Asked in Interviews.
- Write a program to print Hello message
- Write a program to swap two numbers
- Write a program to swap two numbers without using third variable
- Write a program to calculate area of a circle
- Write a program to convert Fahrenheit temperature into Celsius
- Write a program calculate simple interest
- Write a program to calculate perimeter of a circle
- Write a program to fine greater out of two number
- Write a program to find a number is even or odd
- Write a program to find a number is prime or not
- Write a program to find a number is Armstrong or not
- Write a program to print roots of a quadratic equation
- Write a program to find greatest out of three numbers
- Write a program to print table of a number
- Write a program to calculate factorial of a number
- Write a program to print first ten natural numbers
- Write a program to print first five odd numbers
- Write a program to print prime numbers between 100 and 200
- Write a program to print Fibonacci sequence of n terms
- Write a program to sum the digits of a number
- Write a program to print first and last digits of a number
- Write a program to read a one dimensional array of 10 elements and print it in reverse order
- Write a program to search an element in a list of elements using sequential search
- Write a program to count the number of occurrences of a character in a string
- Write a program to check whether the entered string is palindrome or not
- Write a program to search an element in a list of elements using binary search
- Write a program to sort a list of elements using bubble sort in ascending order
- Write a program to sort a list of elements using insertion sort in ascending order
- Write a program to sort a list of elements using selection sort in ascending order
- Write a program to sort a list of elements using quick sort sort in ascending order
- Write a program to sort a list of elements using heap sort in ascending order
- Write a program to sort a list of elements using radix sort in ascending order
- Write a program to print a two dimensional array in matrix form
- Write a program to print transpose of a matrix.
- Write a program to count number of zero elements of a two dimensional array of order 3x3
- Write a program to check whether the given two dimensional array of order 3x3 is upper diagonal or not
- Write a program to check whether the given two dimensional array of order 3x3 is lower diagonal or not
- Write a program to find the trace of a two dimensional array of order 3x3
- Write a program to print address of an element stored in memory
- Write a program to calculate factorial of a number using functions
- Write a program to calculate factorial of a number using recursive functions
- Write a program to print table of a number using functions
- Write a program to read a file from hard disk.
- Write a program to write a string “hello world” to a file
- Write a program to generate pascal pyramid
- Write a program to generate floyd pyramid
- Write a program to print the sum of the series
1 + 2+ 3 …n terms
48. Write a program to print the sum of the series
1 + 3+5 …n terms
49. Write a program to print the sum of the series
2+ 4 + 6 …n terms
50. Write a program to print the sum of the series
1 -2+ 3-4 …n terms
48. Write a program to print the sum of the series
1 + 3+5 …n terms
49. Write a program to print the sum of the series
2+ 4 + 6 …n terms
50. Write a program to print the sum of the series
1 -2+ 3-4 …n terms
Top 50 C Programs Asked in Interviews