Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to write in a function declaration and in function call in
which the function has 'n' number of varible or arguments?

Answer Posted / kiran kumar yakkala

returntype function_name(int counter,...)

here first one is the counter tells about how many no are
going to use
... specifies variable no of arguments

for further clarificaiton, refer "Let us C" book

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I pad a string to a known length?

1037


Why n++ execute faster than n+1 ?

3019


For what purpose null pointer used?

1081


What is a pointer variable in c language?

1107


Explain which function in c can be used to append a string to another string?

1092


Explain goto?

1158


Are negative numbers true in c?

1069


int i=10; printf("%d %d %d", i, i=20, i);

1626


Explain what is the benefit of using an enum rather than a #define constant?

1223


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2748


I came across some code that puts a (void) cast before each call to printf. Why?

1220


in iso what are the common technological language?

2117


What do you mean by invalid pointer arithmetic?

1079


What is union and structure?

1126


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

1156