Call by Reference with Pointer in C Language part-4-a


O LEVEL - PAPER 3rD -- M3-R4


C  LANGUAGE



OBJECTIVES


Pointer Basics

Extended Concept of Pointer

Pointer's Arithmetic


Application of Pointer




APPLICATION OF POINTER



1- CALL BY REFERENCE




call by value,call by reference
call by reference


SYNTEX :--



call by value,call by reference
syntex of reference

Here in above Syntex we use actual and formal argument i.e fun(a,b) is actual and void fun(intx,inty) is formal argument. if you brief explanation then check my previous post of pointer.

EXAMPLE :--


call by value,call by reference
example of call by reference



OUTPUT :--

call by value,call by reference
output



Comments

Popular posts from this blog

Important Announcements(download all my book free)

O LEVEL- INTERNET TECHNOLOGY & WEB DESIGN