how to call a function inside switch case
can anyone tell me how to call a function inside switch case in linux programming?
|
What programming language do you use? All by itself, calling a function is not platform-specific, so it's the same in Linux or any other OS.
|
Quote:
Code:
int var,res; |
I have write the program as follows. still it shows error like "too few arguments to function". can anyone rectify this
int i; scanf("%d",&i); switch(i) { case 1: add_provider(); } |
Quote:
|
All times are GMT -5. The time now is 08:35 PM. |