Skip to content · ⁨الانتقال إلى المحتوى⁩

Functions, parameters, and return values · ⁨الدوال، المعاملات، وقيم الإرجاع⁩

Why functions

  • A function is a named piece of work. You write it once and call it whenever you need it.
  • Functions keep programs short and clear, and let you build big jobs from small ones.
  • You have already used printf — a function from <stdio.h>. Now you write your own.

Handout · ⁨ورقة عمل⁩

Log in or create account · ⁨تسجيل الدخول أو إنشاء حساب⁩

IGCSE, A-Level & AP