Skip to content

Files

Latest commit

b456a20 · Dec 29, 2022

History

History

0x01-variables_if_else_while

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 29, 2022
Sep 9, 2022
Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Dec 14, 2022

img

Program control structures - if else

Intro

In this section, we will take a look at program control structures - branching (if else )

Resources

  1. Keywords and Identifiers in C
  2. Integral Data types in C
  3. Generaly Operators in C
  4. if function in C
  5. if else statements in C
  6. While loop in C

All Operators

  • Arithmetic Operators
  • Relational Operators
  • Logical Operators
  • Bitwise Operators
  • Assignment Operators
  • Conditional Operators
  • Special Operators

Learning objectives

  • What are the arithmetic operators and how to use them
  • What are the logical operators (sometimes called boolean operators) and how to use them
  • What the the relational operators and how to use them
  • What values are considered TRUE and FALSE in C
  • What are the boolean operators and how to use them
  • How to use the if, if ... else statements
  • How to use comments
  • How to declare variables of types char, int, unsigned int
  • How to assign values to variables
  • How to print the values of variables of type char, int, unsigned int with printf
  • How to use the while loop
  • How to use variables with the while loop
  • How to print variables using printf
  • What is the ASCII character set
  • What are the purpose of the gcc flags -m32 and -m64