AIFA
C Editor
Coding Lab
C Home
Lesson
Courses
CHAPTER 17
C Return Values
Write C code and run it directly in the browser.
▶ Run Code
↻ Reset
Clear Output
C Source Code
#include <stdio.h> int add(int a, int b) { return a + b; } int main() { printf("Result = %d", add(10, 20)); return 0; }
Ready
Program Output
Output will appear here...
AIFA C Compiler
← Previous
📖 Lesson
All Chapters
Next →