C Interview Questions with Answers

1 comment

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

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

If You Enjoyed This, Take 5 Seconds To Share It

1 comment:

  1. 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.