Professional Documents
Culture Documents
Function Call
Created By:
Amanpreet Kaur &
Sanjeev Kumar
©LPU CSE101 C Programming SME (CSE) LPU
Outline
• Function call
– Passing arguments by value
– Passing arguments by reference
void main()
{
int a;
a=show();
printf("%d", a);
}
int show()
{
return 15.5;
return 35;
}
1. 15.5
2. 15
3. 35
4. error