Way to Defined Functions in C Language
WAY TO DEFINED FUNCTIONS EXAMPLE OF -- "TAKES NOTHING RETURNS NOTHING" NOTE-- The add() function takes input from the user i.e a&b and displays it on the screen. The empty parentheses in add() statement inside the main () function indicates that no argument is passed to the function. The return data type of the function is void. which indicates no value is returned from the function.(void is empty data type 2-TAKES SOMETHING AND RETURNS NOTHING example of function in c NOTE - As we know that variables declaration in a function can not be accessed in any other function, but we want that if the data in the variable created in the main function is accessed in the add function, then at the time when compiler call the add function we have to pass the variable in its parenthesis i.e x,y as shown in above example , when the add function is created, then the variable has to be declarated in parentheses i.e int ...