Lesson 4
Unlock this lesson
Create a free account, then buy the course to open every lesson.
What you will learn in this lesson
- Make a variable, put a value in it and change the value.
- The four basic data types: int, float, double and char.
- Print a variable with a format specifier, like %d.
- Print decimals with exactly two places, like 8.75.
- Turn on gcc warnings with -Wall, so gcc catches your mistakes early.
Everything in C Programming: BCA, MCA, BTech & O Level
- 37 step-by-step lessons
- 10 mini projects with solutions
- A final project for your portfolio
- Real commands and real output in every lesson
- Practice task with a solution in each lesson
- Progress saved to your account