
Originally Posted by
marcdaven
Mga bro, pwede ko patabang about sa C program class namo? Naa man guy gihatag nga assignment ang among maestra sa IT.
Question niya kay:
1. Unsa nang mga types of parameters?
2. Ug unsa kuno ang gamit sa kanang return 0 unya void ang return type
Mga bro, desparate kaayo ko maka kahibaw ani kay nang hadlok among maestra na mag quiz about ani..
THANKS!

Let's keep it SIMPLE!!!!! 
Code:
void func1(param[param.....])
{
...
.....
return 0;
}
explaination:
the void instructs the function that it will not return a data. Since the function is atempting to return a value and that is zero. That last instruction will be ignored. You will get error, it depends on the langauge or compiler.
**C, maybe you get error
**c#, may get warning
**JAVA, may get error
**PHP, no error
**javascript, no error.
that would be my expected outcome in my imagination.