0% found this document useful (0 votes)
4 views3 pages

C Crash Course 2 Days

The document outlines a 2-day crash course on the C programming language, covering essential topics such as basic syntax, control structures, functions, arrays, pointers, strings, and memory management. Each day includes specific parts with estimated times for completion and practice exercises to reinforce learning. A final checklist is provided for review of key concepts and skills acquired during the course.

Uploaded by

sastra.swarup
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

C Crash Course 2 Days

The document outlines a 2-day crash course on the C programming language, covering essential topics such as basic syntax, control structures, functions, arrays, pointers, strings, and memory management. Each day includes specific parts with estimated times for completion and practice exercises to reinforce learning. A final checklist is provided for review of key concepts and skills acquired during the course.

Uploaded by

sastra.swarup
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

C Language 2-Day Crash Course + Checklist

Day 1 - Basics, Control Structures, and Functions

Total Time: ~8-10 hours

Part 1: Setup & Hello World (30 mins)

- [ ] Install GCC / Code::Blocks / VS Code + C Extension

- [ ] Write and compile your first hello.c

Part 2: Basic Syntax & Data Types (1.5 hrs)

- [ ] Variables: int, char, float, double

- [ ] Constants (const, #define)

- [ ] Input/output: scanf, printf

- [ ] Type conversion and formatting

Part 3: Operators & Expressions (1 hr)

- [ ] Arithmetic, Logical, Relational operators

- [ ] Increment/decrement, assignment

- [ ] Operator precedence

Part 4: Control Flow (2 hrs)

- [ ] if, else if, else

- [ ] switch statements

- [ ] while, for, do-while loops

- [ ] break, continue

Part 5: Functions (2 hrs)

- [ ] Function declaration, definition, and call

- [ ] Parameters and return values

- [ ] Scope: local vs global variables

- [ ] Recursion (basic factorial example)


C Language 2-Day Crash Course + Checklist

Practice (1 hr)

- [ ] Write functions for factorial, prime check, swap values

- [ ] Use loops for patterns or basic math

Day 2 - Arrays, Pointers, Strings, and Memory

Total Time: ~8-10 hours

Part 1: Arrays (1.5 hrs)

- [ ] 1D arrays: initialization, access

- [ ] Simple algorithms: sum, max, reverse

- [ ] 2D arrays: matrix input/output

Part 2: Strings (1.5 hrs)

- [ ] char[] basics

- [ ] strlen, strcpy, strcat, strcmp

- [ ] Manual string manipulation

Part 3: Pointers (2.5 hrs)

- [ ] What are pointers & syntax: int *p

- [ ] Pointer arithmetic

- [ ] Pointers and arrays

- [ ] Pointer to pointer

- [ ] Common mistakes: uninitialized, dangling

Part 4: Functions + Pointers (1 hr)

- [ ] Pass-by-value vs pass-by-pointer

- [ ] Use pointers to modify variables (e.g. swap function)


C Language 2-Day Crash Course + Checklist

Part 5: Dynamic Memory & Structures (1.5 hrs)

- [ ] malloc, calloc, free

- [ ] struct basics

- [ ] Array of structs, nested structs

Practice (1-2 hrs)

- [ ] Create a student database using struct

- [ ] Sort an array with a function

- [ ] Use dynamic arrays

Final Checklist (Review & Quiz Yourself)

Syntax & Basics

- [ ] Data types, format specifiers

- [ ] Functions and return types

Control Flow

- [ ] Looping & conditionals

- [ ] Nested structures

Pointers

- [ ] Pointer basics & usage

- [ ] Pointers with functions and arrays

Advanced Topics

- [ ] Dynamic memory

- [ ] Structures

You might also like