Tuesday, September 30, 2025

Frequently Asked C Programs in Interview - 03 || Blog post

 These are considered essential for coding tests and technical rounds.

C Program with Size of Data Type (without sizeof)

These programs challenge the use of alternatives to the sizeof operator.

  1. Find the size of int without using sizeof operator.

  2. Find the size of double without using sizeof operator.

  3. Find the size of structure without using sizeof operator.

  4. Find the size of union without using sizeof operator.

C Program with Using Pointer

Specific tasks demonstrating pointer usage are included.

  1. For concatenation two string using pointer.

C Program with Searching

Different searching algorithms are presented as problems.

  1. For linear search.

  2. For binary search.

  3. For binary search using recursion.

C Program with Area and Volume

Programs for calculating geometric properties of various shapes.

  1. Find the area of circle.

  2. Find the area of any triangle.

  3. Find the area of equilateral triangle.

  4. Find the area of right angled triangle.

  5. Find the area of rectangle.

  6. Find the area of trapezium.

  7. Find the area of rhombus.

  8. Find the area of parallelogram.

  9. Find the volume and surface area of cube.

  10. Find the volume and surface area of cuboids.

  11. Find the volume and surface area of cylinder.

  12. Find the surface area and volume of a cone.

  13. Find the volume and surface area of sphere.

  14. Find the perimeter of a circle, rectangle and triangle.

C Program with Very Large Numbers

This section addresses challenges involving numbers that exceed standard data type limits.

  1. Find factorial of 100 or very large numbers.

  2. Multiply two very large number (larger than long int).

  3. For division of large number (larger than long int).

  4. For modular division of large number.

  5. For division of large number.

  6. For power of large numbers.

Other C Programs

A collection of diverse programming challenges.

  1. For ATM transaction.

  2. Which passes one dimension array to function.

  3. Which passes two dimension array to function.

  4. Which takes password from user.

  5. Scanf function which accepts sentence from user.

  6. Scanf function which accepts paragraph from user.

  7. To print all prime numbers between 1 to 300.

  8. Which passes structure to function.

  9. Palindrome without using string function.

  10. How to get the ASCII value of a character.

  11. To get last two digits of year.

  12. Without main function.

…till next post, bye-bye & take care.

No comments:

Post a Comment