0
Pls i need some help to understand better feunctions in c
5 odpowiedzi
+ 3
what get you confused to be specific???,
"return type" "function name"(function parameters){
codes........
}
then where do you want that function to perform the duties you have given to it, you will then call the function there with "function name"(argument);
+ 1
the parameters are like the engines that are going to work inside the function, they have roles to play in a function, let's take a simple example
int sum(int a, int b) int a and int b are the parameters here, which am going to use in the function
the I continue with "a + b" inside the function, you can now see how "a and b" are playing there roles
+ 1
Please use the search bar for functions in C and do specifically ask about 1 function all are here to help you .
0
fonction parameters am not really understanding the concept
0
aaaah thanks it becomes more specific