code-examples

C Code Examples

Observable

  1. Passing arrays to functions
  2. String representation

Interactive

  1. What happens when you change index variable in a for loop?

Explorable Explainations

  1. Explore how output changes when you change the initialization statement, condition statement, increment statment in a for loop.
  2. What happens when you change index variable in a for loop?

Python Explorables

  1. For loop using range with 2 arguments.
  2. For loop using range with 3 arguments.
  3. For loop using a list created with range with 3 arguments.
  4. String indexing.
  5. String slicing using begin:end, just :end and begin:.
  6. Pattern Printing.

C Code to Assembly

  1. Mapping between C code and assembly.