Monday, 2 July 2012

Frequently Asked C Programming Questions in Interviews


L.C.M and H.C.F.

Swapping

Conversion ( Number System )

6. Write a c program to convert octal number to hexadecimal number.
8. Write a c program to convert hexadecimal number to octal number.
9. Write a c program to convert hexadecimal number to decimal number.
10. Write a c program to convert binary number to octal number.


Conversion ( Unit )


String

3. Write a c program to delete the all consonants from given string.
Matrix

File

2.  Write a c program to delete a file.
3. Write a c program to copy a file from one location to other location.
6. Write a c program which writes string in the file.
Complex number
3. Write a c program for multiplication of two complex numbers.
4. Write a c program for division two complex numbers.

Series

6. Write a c program to find out the sum of given H.P.
Array

Sorting

5. Write a c program for heap sort.
7. Write a c program for shell sort.

Recursion

Size of data type

Using pointer

Searching

Area and volume

6. Write a c program to find the area of trapezium.     
7. Write a c program to find the area of rhombus.   
8. Write a c program to find the area of parallelogram.           

0 comments:

Post a Comment

newer post older post Home