This page lists Level 1 C topic-wise practice. Each topic uses two columns: simple C programs (left) and CodeChef / LeetCode links (right). Work in order—operators and control flow first, then loops, arrays, strings, pointers, and structures. Always read the official statement and constraints on the platform.

1. Operators

Simple C programs

#Program idea
1Swap two numbers using a third variable, without a third variable, and in a single line.
2Swap two numbers using bitwise operators.
3Maximum of two numbers.
4Simple and compound interest.
5Celsius to Fahrenheit.
6Even or odd using bitwise operators.
7Total and average of three subject marks.
8Area of circle, triangle, rectangle, and square.
9Perimeter of circle, triangle, rectangle, and square.
10Even or odd using the conditional operator.

CodeChef practice

Open each problem on CodeChef (search or direct practice link).

2. Control statements

Simple C programs

#Program idea
1Largest of three numbers using simple if, if-else, else-if ladder, and nested if.
2Leap year check using the same four styles.
3Vowel or consonant using the same four styles.
4Grade system from student marks.
5Divisible by 5 and 11.
6Electricity bill using the same control-flow styles.
7Triangle types (validity and classification).
8Sort three numbers.
9Character is digit, alphabet, or special symbol.
10Largest of three using the conditional operator.

CodeChef & LeetCode

Practice problems matching your syllabus names.

3. Switch statement

Simple C programs

#Program idea
1Calculator using switch.
2Day of week.
3Month name.
4Vowel or consonant.
5Menu-driven program.
6Grade system.
7ATM menu.
8Given digit in characters.

LeetCode

Classic problems that reinforce switch-like mapping logic.

4. Loops

Simple C programs

#Program idea
1Print N to 1.
2Sum of N numbers.
3Factorial.
4Fibonacci series.
5Reverse a number.
6Palindrome number.
7Prime number in four different ways.
8Multiplication table.
9Count digits in a number.
10Armstrong number.

LeetCode & CodeChef

Digit / number tricks align with these platform problems.

5. Arrays (1D)

Simple C programs

#Program idea
1Print array in reverse order.
2Sum of elements.
3Largest and smallest element.
4Print middle element.
5Reverse the array.
6Count even and odd.
7Linear search.
8Copy array.
9Binary array or not (all 0/1).
10Frequency count.

CodeChef & LeetCode

Arrays practice on both platforms.

6. Arrays (2D)

Simple C programs

#Program idea
1Matrix addition.
2Matrix subtraction.
3Matrix multiplication.
4Transpose matrix.
5Diagonal sum.
6Identity matrix check.
7Sparse matrix.
8Upper triangular matrix.
9Lower triangular matrix.
10Binary matrix or not.

LeetCode & CodeChef

Matrix problems; “Flipping an Image” appears twice in the syllabus—practice once.

7. Strings

Simple C programs

#Program idea
1String length (manual / library).
2Copy string.
3Compare strings.
4Character and word count.
5Palindrome string.
6Count vowels and consonants.
7Case conversion.
8Remove common letters from two strings.
9Character frequency.
10Replace a letter with another.

8. Pointers & dynamic memory

Simple C programs

#Program idea
1Pointer basics.
2Swap using pointers.
3Array using pointers.
4Pointer arithmetic.
5Pointer to pointer.
6malloc demo.
7calloc demo.
8realloc demo.
9Free memory safely.
10Dynamic array.

LeetCode

Array manipulation with index / two-pointer ideas.

9. Structures

Simple C programs

#Program idea
1Student details.
2Employee record.
3Array of structures.
4Pointer to structure.
5Nested structure.
6Structure comparison.
7Passing structure to function.
8typedef usage.

LeetCode

Object-style problems that map well to structs in C.

Content structure and exercise titles are taken from the internal syllabus document C TOPIC WISE PROBLEM SOLVING QUESTIONS (Level 1, C language). Platform problem names are for discovery—always read the official statement and constraints on CodeChef or LeetCode.