Skip to lab content

PROGRAMMING FOR PROBLEM SOLVING LAB

Your C lab, explained.

All 22 exercises in the supplied B.Tech I-I All Branches - AR25 syllabus, organized in the original five units.

22 exercises5 unitsC17 programs

22 exercises

01

Simple numeric problems

Numbers, comparisons and arithmetic

4 exercises
02

Expression Evaluation

Decisions, digits and sequences

4 exercises
03

Arrays, Pointers and Functions

Collections, memory and modular programs

4 exercises
04

Strings

Text manipulation and character processing

4 exercises
05

Sorting and Searching

Find values and arrange data

6 exercises
How to use these solutions

Read the input format, follow the dry run, and then type or copy the program into the compiler. Change the sample input to check your understanding. These are learning solutions based on the syllabus supplied, not an official examination answer key.

Examples use standard C17. Read each program's stated limits. String positions are 1-based for display; C array indexes are 0-based.