Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » Homework HelpRSS Feeds

Example 5 of using function

Posted By: Finlay Evans     Category: C Programming     Views: 2101

Example 5 of using function.

Code for Example 5 of using function in C Programming

#include <stdio.h>
main ( )
{
    int i;
void  (int *k)        // D

    i = 0;
printf (“ The value of i before call %d \n”, i);
    f1 (&i);        // A
printf (“ The value of i after call %d \n”, i);
}
void  (int *k)        // B
{
    *k = *k + 10;    // C
}
  
Share: 


Didn't find what you were looking for? Find more on Example 5 of using function Or get search suggestion and latest updates.

Finlay Evans
Finlay Evans author of Example 5 of using function is from London, United Kingdom.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!