Lecture 6: April 14, 2023
Reading
:
zyBooks
, §6.1–6.4
Assignments
: Homework 1, due April 24
Functions in C
Parameters: pass (or call) by value
Arguments: instantiations of parameters matched in order
Return values
Scope: local variables [
scope.c
]
Show the program stack and how it relates to functions
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email:
mabishop@ucdavis.edu
ECS 36A, Programming & Problem Solving
Version of April 14, 2023 at 12:11PM
You can also obtain a PDF version of this.