Programming For Problem Solving Notes Pdf May 2026

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

#include <stdio.h> // preprocessor directive int main() // main function programming for problem solving notes pdf

Machine (1GL) → Assembly (2GL) → High-level (3GL: C, Python) → 4GL, 5GL. char str[] = "Hello"

() → ++ -- → * / % → + - → < > <= >= → == != → && → || → = 5. Conditional Statements if-else: // null terminated: 'H'