## C Interview Questions with Answers

C interview questions on various topics.

**Basic C Programs**

**Program to print 1 to 100 numbers using loop**

**Program to add two numbers**

Program to print multiplication table of a number

Reverse a Number

Program to calculate sum of n numbers

Program to Reverse an Array

Program to print even numbers from 1 to 100.

Program to check perfect number

Program to check perfect square

Program to check even or odd number

C Program to calculate power of a number

**Binary to Decimal Conversion**

1. Write a program to convert decimal to binary number.

2. Program to convert binary to decimal number.

**Question on Strings**

String Questions

**Questions on Recursion**

1. Program to Print the factorial of a number using recursion

2. Print Fibonacci series.

3. Binary Search using Recursion.

4. Reverse an array using Recursion.

**C Tricky Questions**

1. Subtract two numbers without using subtraction (-) operator

by using binary search in c++ ,show how by drawing how can you find the word"ahmed"in the follwing list.{ibrahim, mohamoud, eman,ismaell,heba,mona}calulate number of comparisons.

ReplyDelete