On this page
  1. Control Flow & Functions
  2. Contents
  3. Prototypes, Pass-by-Value & static Linkage
  4. Storage Duration

Control Flow & Functions

Prev: Syntax, Types & Operators | Up: fundamentals | Next: Arrays & C Strings
Rel: Control Flow & Composition, Build Pipeline & Linking
Ref: cppreference — C Functions
Tags: #public #prog #c #fundamentals


Contents


Prototypes, Pass-by-Value & static Linkage

static int clamp_int(int v, int lo, int hi) {
    if (v < lo) return lo;
    if (v > hi) return hi;
    return v;
}

Storage Duration

Linked from

Related notes