# Daily Bell Ringer — Return Values, Scope (Local vs Global), & Code Reusability

- Link: https://doss.academy/course-3-introduction-to-programming/unit-5-modular-programming-user-defined-methods/lesson-2-return-values-scope-local-vs-global-code-reusability/daily-bell-ringer/
- Published: 2026-10-18T12:31:14-04:00
- Author: matthew.leffler@jefferson.kyschools.us

Course 3: Introduction to Programming / Unit 5: Modular Programming & User-Defined
Methods / Lesson 2: Return Values, Scope (Local vs Global), & Code Reusability

## Before we begin

What happens if you try to print a variable inside main that was defined inside 
a function?

Record your initial thinking. Be ready to explain your reasoning and revisit your
response after the lesson.
