/c_basics

Practice work in c, for general purpose and projects

Primary LanguageCMIT LicenseMIT

Banner C basics practice

C Basics practice repository

GitHub commit activity GitHub contributors

Included Libraries 📜

  • stdio.h
  • math.h
  • unistd.h

ASCII Table 📑

ASCII TABLE

Projects 💎

Root

  • 0-4loop.c: These files uses basic loops to perform different functions
  • factorial.c: User input (integer value) is collected using the scanf() function.
  • fixed_square.c: Finds the square of a number defined in square = integer_square(7); this is a fixed value.
  • git-default_acp.sh: Shell script using git commands to add, commit and push when the file is run.
  • higher_base.c: A table showing values in Hex, Octal and Decimal.
  • indentation.c: ########################################################.
  • integers.c: Integer and float division.
  • letters.c: Prints the letters and numbers defined in a char data type.
  • multiples.c: Collects user input and prints out all multiples of the input number.
  • multiplication.c: A function multiply(int x, int y) finds the product of two numbers.
  • numbers.c: Prints a number.
  • putchar.c: Uses the function putchar to print letters of the alphabet.
  • reading_input.c: Collects user input and displays it.
  • switch.c: Practicing switch , case, break and continue.
  • writing_output.c: Writes output with putchar.

Sub-Directories 💼

  • 11L01.c: Prints out addresses and content using the address operator &.
  • add3.c: Prints addresses using pointers.
  • arithmetic.c: Various arithmetic operations.
  • maxint.c: Uses the sizeof() function to get the size of an integer.
  • strings.c Using strings (Strings and character constants, string and character arrays).
 All commit message "auto commit" is done by shell scripting in git-default_acp.sh file.