बिजनेस मार्केटिंग का लो कॉस्ट फंडा , अपने मोबाइल से ऑटो sms भेजकर मार्केटिंग करे विजिट करे http://autotextsms.com/ बिजनेस मार्केटिंग का लो कॉस्ट फंडा http://autotextsms.com/

Search This Blog

Translate

actual and formal parameters of the function?

What are the actual and formal parameters of the function? explain with example

What are the actual and formal parameters of the function?

What are the actual and formal argument of the function?

 

Consider the following program
 #include
 static int i = 10;
main()
{
        int i = 10;
          fun(i);
}
void fun(int j)
 {
        printf(“Wel-come”);
}

Parameters that are passed to function call are called as actual parameters and parameters that received the data in the function definition are called as formal parameters. So in above program segment line 6 i is actual parameter and line 8 j is formal parameter because j stores the value that is passed by i.

C Program example List