2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by mrjoli021
0
#include <stdio.h>

int functionname(int value1,int value2);

int main()
{
    int a;
    
    int parameter1,parameter2;
    
    a = functionname(parameter1,parameter2);//If you want to store the value in a variable which is returned by the function...
    
    functionname(parameter1,parameter2);//If you want to call the function only....
    
    
    
    return 0;
}

int functionname(int value1,int value2)
{
    .....
    .....
    .....
    
    return integer;
    
}
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.