Last Updated :
20 Feb, 2019
Consider the below program:
#include <stdio.h>
void fun(int x)
{
x = 30;
}
int main(void)
{
int x = 20;
fun(x);
printf(\"x = %d\", x);
return 0;
}
In the program, what does statement \”fun(x)\” represent?
(A) Actual Parameter
(B) Formal Parameter
(C) Pass by Value
(D) Pass by Reference
Answer: (C)
Explanation:
Quiz of this Question
Share your thoughts in the comments
Please Login to comment...