Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

an HCL GUVI product

Home /Programming Exercises /C Programming/ Intermediate

C Programming Exercises

Master C Programming with hands-on practice problems across Beginner, Intermediate, and Advanced tracks. Filter by level, difficulty or status, and solve in our in-browser compiler.

89 questions0 / 89 solved3 levelsUpdated weekly

Programming Tracks16 Tracks

Py

Python

90 Questions
Progress0 / 90 (0%)
BeginnerIntermediateAdvanced
☕

Java

90 Questions
Progress0 / 90 (0%)
BeginnerIntermediateAdvanced
C++

C++

90 Questions
Progress0 / 90 (0%)
BeginnerIntermediateAdvanced
C

C Programming

89 Questions
Active Track0 / 89 (0%)
BeginnerIntermediateAdvanced

C Programming Questions30 Problems

0/89 Solved
QuestionDifficultyProgressStatus
CWrite a function to check if a number is a palindrome.C Programming · Intermediate
Med.0%Not Started
CImplement a function to find the GCD of two numbers.C Programming · Intermediate
Med.0%Not Started
CWrite a function to sort an array {5, 3, 8, 6, 2} in ascending order.C Programming · Intermediate
Med.0%Not Started
CImplement a function to reverse a string "programming".C Programming · Intermediate
Med.0%Not Started
CWrite a function to calculate the factorial of a number (6) using recursion.C Programming · Intermediate
Med.0%Not Started
CWrite a function to find the minimum element in an array {3, 5, 2, 8, 1}.C Programming · Intermediate
Med.0%Not Started
CPrint the first 10 elements of the Fibonacci sequence.C Programming · Intermediate
Med.0%Not Started
CCount the number of words in a string "C programming is fun".C Programming · Intermediate
Med.0%Not Started
CWrite a function to find the second largest element in an array {12, 35, 1, 10, 34, 1}.C Programming · Intermediate
Med.0%Not Started
CCalculate the sum of the diagonal elements in a 3x3 matrix.C Programming · Intermediate
Med.0%Not Started
CFind the factorial of a number using iteration. Calculate factorial of 7.C Programming · Intermediate
Med.0%Not Started
CCheck if two strings "listen" and "silent" are anagrams.C Programming · Intermediate
Med.0%Not Started
CWrite a function to merge two sorted arrays {1, 3, 5} and {2, 4, 6} into a single sorted array.C Programming · Intermediate
Med.0%Not Started
CFind the sum of all even numbers in an array {4, 7, 10, 13, 18}.C Programming · Intermediate
Med.0%Not Started
CWrite a function to find the transpose of a 2x3 matrix {{1, 2, 3}, {4, 5, 6}}.C Programming · Intermediate
Med.0%Not Started
CCalculate the average of an array {15, 22, 8, 10, 35}.C Programming · Intermediate
Med.0%Not Started
CCheck if a character 'A' is a vowel or consonant.C Programming · Intermediate
Med.0%Not Started
CWrite a function to reverse an integer array {9, 2, 3, 5, 7}.C Programming · Intermediate
Med.0%Not Started
CCalculate the number of digits in an integer 12345.C Programming · Intermediate
Med.0%Not Started
CFind the largest element in each row of a 2x3 matrix {{3, 5, 1}, {7, 2, 8}}.C Programming · Intermediate
Med.0%Not Started
CWrite a function to check if a number (17) is prime.C Programming · Intermediate
Med.0%Not Started
CFind the factorial of each number in an array {4, 3, 2, 5}.C Programming · Intermediate
Med.0%Not Started
CWrite a function to find the sum of digits of a number (456).C Programming · Intermediate
Med.0%Not Started
CWrite a function to reverse the digits of a number (12345).C Programming · Intermediate
Med.0%Not Started
CCheck if a string "level" is a palindrome.C Programming · Intermediate
Med.0%Not Started
RowsShowing 1 - 25 of 30

Frequently asked questions

What programming languages are covered in the exercises?
Our platform supports Python, Java, C, C++, JavaScript, and more languages used in the industry today.
How are the exercises divided across difficulty levels
Our exercises are organized into Beginner, Intermediate, and Advanced levels, letting you progress naturally.
Are the exercises suitable for both beginners and experienced coders?
Yes, the exercises are suitable for both beginners and experienced coders.
How do topic-wise exercises help in better learning?
The topic-wise exercises let you focus on one concept at a time, strengthening your understanding step by step.
Do the exercises cover both basic syntax and complex algorithms?
Yes, from basic syntax to complex algorithms, our exercises span the full range of programming challenges.
Can these exercises prepare me for coding interviews?
Yes, these exercises are designed to match real interview questions, helping you prepare for coding interviews.
Is there an integrated IDE on the platform to run and test the code?
Yes, our platform includes a built-in web IDE where you can write, test, and run your code instantly.
Do the exercises include solutions or hints for guidance?
Yes, when you're stuck, you can access helpful hints or study complete solutions to learn different approaches.
Are there any prerequisites for attempting the advanced-level exercises?
Yes, advanced exercises require a solid understanding of the basics and intermediate concepts of your chosen language.
How do these exercises improve coding speed and efficiency?
Through consistent practice and exposure to diverse challenges, you'll naturally become faster and more efficient at coding.
Is there a time limit for completing each exercise?
No, take as long as you need – our focus is on learning, not racing against the clock.
Are the exercises updated regularly to include new challenges?
Yes, we consistently update our exercise collection to include new challenges and keep up with industry trends.