## C,C++ Interview Questions with Answers

C, C++ interview questions on various topics.

**Basic C Programs**

1. Program to print multiplication table of a number.

2. Reverse a Number.

3. Program to calculate sum of n numbers.

4. Program to Reverse an Array.

5. Program to print even numbers from 1 to 100.

6. Program to check perfect number

7. Program to check perfect square

8. Program to check even or odd 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