C questions and answers

https://www.

C questions and answers with explanation

1. Data types        2. Operators              3. Pointers
4. Arrays            5. Loops                  5. Preprocessor
6. Structures        6. If else                6. Switch case
7. printf            8. Variables              7. File handling
8. Strings           9. Command line arguments

C questions and answers for interview

Online Tests

1. Practice set 1    2. Practice set_2         3. Practice set_3

C tutorials:

1. Memory mapping    2. Variables              3. Data types
4. Storage Class     5. Looping                5. Pointers
6. Functions         6. Arrays                 6. Preprocessor
7. File handling     8. Advance c    
         
C pdf to free download


1. Faq pdf           2. C in depth pdf         3. MCQ pdf 
4. Objective 1 pdf   5. C langauge pdf         6. C questions pdf
7. Pointers pdf      6. Interview pdf          8. C Test 1 pdf
Good tricky questions

1. Best c questions   2. Tricky c questions      3. MCQ  4. C in Linux 

C program examples FAQ:

1. Fibonacci series    2. Check prime number        3. Find factorial
4. Check Palindrome    5. Reverse string            6. Check Armstrong                 7. Quadratic equation  9. Concatenate string          8. Reverse numbers  

C programs on numbers

1. Sum of digits        2. Find Power       3. Addition(Without using +)


C program on strings

1. Upper to Lower      2. Lower to upper      3. Print initials
4. Delete consonants   5. String palindrome   6. Sort the characters
LCM and HCF

1. LCF          2. HCF              3. GCD

Sorting

1. Selection sort    2. Quick sort            3. Insertion sort
4. Bubble sort       5. Merge sort             6. Heap sort

Searching

1. Linear search     2. Binary search

Swapping

1. Two numbers       2. Swap two string        3. Swap two arrays
Conversion

1. Binary to decimal     2. Binary to octal      3. Binary to hex
7. Octal to binary       8. Octal to decimal     9. Octal to hex
10. Hex to binary        11. Hex to decimal      12. Hex to Octal             
13. Decimal to Roman     14. Roman to decimal    15. Digits to word 
16. Currency to word     17. Units conversion    18. String to int
Matrix

1. Addition         2. Subtraction          3. Multiplication
4. Division         5. Transport            6. Sum of diagonal elements
7. Inverse          8. Determinants         9. Scalar multiplication
File

1. Write text and close     2. Delete a file 3. Copy from one 
location to other           4. Copy data of file
5. Display source code as output     6. Write string in the file
11. Find size and drive of file      12. Know type of file          
Complex number

1. Print complex number    2. Addition & subtraction    
3. Multiplication
4. Division

Array

C program using function recursion

1. Factorial         2. Prime number           3. Fibonacci series  
4. GCD               5. Palindrome             6. Reverse string
7. LCM               8. Multiplication         9. Sum of digits
10. Find power       11. Reverse number       12. Sum of n numbers 13. Binary search    14. Decimal to binary      15.Matrix multiplication    
Print different Shapes

Sum of Series

4. A.P.                5. G.P.                6. H.P.
Area and volume

1. Circle       2. Triangle       3. Equilateral triangle         4.Rectangle     5. Trapezium      6. Parallelogram  7. Right angled triangle          8. Rhombus 
9. Cylinder     10. Cube          11. Cuboids          12. Cone        13. Sphere        14. Perimeters

Find Size of data types (Without using sizeof)

1. int         2. double         3. struct              4. union

Operation on very large number (Beyond long int)

1. Multiplication          2. Division          3. Modular           5. Factorial of 1000       6. Power             7. More c codes

Miscellaneous

1. C++ programs            2. Java programs

188 comments: