Tips, advice and resources for parents and teachers

Programming For Problem Solving Notes Pdf Apr 2026

// variable declarations // statements return 0;

char str[] = "Hello"; // null terminated: 'H','e','l','l','o','\0' strlen() , strcpy() , strcat() , strcmp() , strchr() 11. Structures & Unions Structure: groups different data types. programming for problem solving notes pdf

| Type | Size (approx) | Format Specifier | |------|--------------|------------------| | int | 2/4 bytes | %d | | float| 4 bytes | %f | | char | 1 byte | %c | | double| 8 bytes | %lf | // variable declarations // statements return 0; char

for loop: for(init; condition; update) while loop: while(condition) do-while loop: do while(condition); → executes at least once. char str[] = "Hello"

Machine (1GL) → Assembly (2GL) → High-level (3GL: C, Python) → 4GL, 5GL.

Tips, advice and resources for parents and teachers