Skip to content
Make room for learningYour learning studio
Know a function's result4 min

Loading your session…

A small idea, worth understanding

Know a function's result

Read Zig parameter and return types.

A Zig function names the types of its parameters and its result. return sends a value to the caller.

u8 is an unsigned 8-bit integer, so examples using it must stay within its range.

Two activities. No typing needed. You can always retry, or read an explanation and continue.

Read the full lesson first