Function parameters in c programming
1.Default parameter of function is void.
2.Only register storage class is allowed with function parameter.
#include
int devD(register int,register int);
int main(){
int temp;
temp=devD(5,25);
printf("%d",temp);
return 0;
}
int devD(int register x,int register y){
static int num;
No comments:
Post a Comment