0

Pls i need some help to understand better feunctions in c

7th Jun 2019, 4:01 AM
Mr squad
Mr squad - avatar
5 Antworten
+ 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);
7th Jun 2019, 5:58 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 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
7th Jun 2019, 6:06 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
Please use the search bar for functions in C and do specifically ask about 1 function all are here to help you .
7th Jun 2019, 9:51 AM
Yashvi Shah
Yashvi Shah - avatar
0
fonction parameters am not really understanding the concept
7th Jun 2019, 6:01 AM
Mr squad
Mr squad - avatar
0
aaaah thanks it becomes more specific
7th Jun 2019, 6:11 AM
Mr squad
Mr squad - avatar