Here are few things that i havent straighten out in my head.
Correct me if am wrong in any of my explainations.
int function (int , int);
int function1 (int char1, int num1);
and these are the callers.
function (char1, num1);
function1 (char1, num1);
a) With the first function prototype I am avoiding globar variables but it expects two integers.
b) on the 2nd function prototype char1 and num1 are prety much global variables. So if i use them in a block they get overwriten.
Why not use voidfunction() and then later on call it? It doesnt lock you to a specific type of value, or there is a benefit that i cant see yet?