SlideShare a Scribd company logo
1 | P a g e
ENG. Keroles Shenouda
https://www.facebook.com/groups/embedded.system.KS/
Functions
Prototype
Pass by value
Pass by reference
This method copies the address of an argument into the
formal parameter. Inside the function, the address is used
to access the actual argument used in the call. This means
that changes made to the parameter affect the argument.
This method copies the actual value of an
argument into the formal parameter of the
function. In this case, changes made to the
parameter inside the function have no effect
on the argument.
Memory layout of C-program
Static And global
Local variables
Dynamic Allocation (malloc,…
Stack Calling Mechanism
Function
Definition
Recursion

More Related Content

PDF
C programming session5
PDF
C programming session7
PPTX
structured programming
DOCX
Basic structure of c programming
PPTX
Preprocessor
PPTX
Functions in C
PPTX
Recursive Function
PDF
C programming session3
C programming session5
C programming session7
structured programming
Basic structure of c programming
Preprocessor
Functions in C
Recursive Function
C programming session3

What's hot (20)

PPT
Preprocessor in C
PPTX
Preprocessor directives in c language
PDF
C# programs
PDF
Data Structure with C
PDF
[ITP - Lecture 07] Comments in C/C++
PPT
Recursion in c
PPT
Preprocessors
PPTX
Functions in c language
PDF
Pointers and call by value, reference, address in C
PPTX
PPTX
FUNCTION CPU
PPT
Preprocessors
PPT
user defined function
PPTX
Functions in c
PPTX
Principal source of optimization in compiler design
PDF
Notes: Verilog Part 1 - Overview - Hierarchical Modeling Concepts - Basics
PPTX
C programming interview questions
PPT
pre processor directives in C
PDF
Preprocessor
Preprocessor in C
Preprocessor directives in c language
C# programs
Data Structure with C
[ITP - Lecture 07] Comments in C/C++
Recursion in c
Preprocessors
Functions in c language
Pointers and call by value, reference, address in C
FUNCTION CPU
Preprocessors
user defined function
Functions in c
Principal source of optimization in compiler design
Notes: Verilog Part 1 - Overview - Hierarchical Modeling Concepts - Basics
C programming interview questions
pre processor directives in C
Preprocessor
Ad

More from Keroles karam khalil (20)

PDF
C basics quiz part 1_solution
PDF
Autosar Basics hand book_v1
PDF
Automotive embedded systems part6 v2
PDF
Automotive embedded systems part5 v2
PDF
PDF
Automotive embedded systems part7 v1
PDF
Automotive embedded systems part6 v1
PDF
Automotive embedded systems part5 v1
PDF
Automotive embedded systems part4 v1
PDF
Automotive embedded systems part3 v1
PDF
Automotive embedded systems part2 v1
PDF
Automotive embedded systems part1 v1
PDF
Automotive embedded systems part8 v1
PDF
C programming session10
PDF
C programming session9 -
DOCX
PDF
Homework 5 solution
PDF
C programming session8
C basics quiz part 1_solution
Autosar Basics hand book_v1
Automotive embedded systems part6 v2
Automotive embedded systems part5 v2
Automotive embedded systems part7 v1
Automotive embedded systems part6 v1
Automotive embedded systems part5 v1
Automotive embedded systems part4 v1
Automotive embedded systems part3 v1
Automotive embedded systems part2 v1
Automotive embedded systems part1 v1
Automotive embedded systems part8 v1
C programming session10
C programming session9 -
Homework 5 solution
C programming session8
Ad

Recently uploaded (20)

PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Updated Idioms and Phrasal Verbs in English subject
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Trump Administration's workforce development strategy
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
Classroom Observation Tools for Teachers
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
A systematic review of self-coping strategies used by university students to ...
Final Presentation General Medicine 03-08-2024.pptx
Practical Manual AGRO-233 Principles and Practices of Natural Farming
2.FourierTransform-ShortQuestionswithAnswers.pdf
Updated Idioms and Phrasal Verbs in English subject
Final Presentation General Medicine 03-08-2024.pptx
Paper A Mock Exam 9_ Attempt review.pdf.
Orientation - ARALprogram of Deped to the Parents.pptx
Trump Administration's workforce development strategy
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Anesthesia in Laparoscopic Surgery in India
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Computing-Curriculum for Schools in Ghana
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
Chinmaya Tiranga quiz Grand Finale.pdf
History, Philosophy and sociology of education (1).pptx
Classroom Observation Tools for Teachers
Microbial diseases, their pathogenesis and prophylaxis
A systematic review of self-coping strategies used by university students to ...

Notes part5

  • 1. 1 | P a g e ENG. Keroles Shenouda https://www.facebook.com/groups/embedded.system.KS/ Functions Prototype Pass by value Pass by reference This method copies the address of an argument into the formal parameter. Inside the function, the address is used to access the actual argument used in the call. This means that changes made to the parameter affect the argument. This method copies the actual value of an argument into the formal parameter of the function. In this case, changes made to the parameter inside the function have no effect on the argument. Memory layout of C-program Static And global Local variables Dynamic Allocation (malloc,… Stack Calling Mechanism Function Definition Recursion