Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Multi parameter functions in C
docmur
post Nov 17 2008, 10:21 AM
Post #1


I Eat C Code for Breakfast
****

Group: Members
Posts: 276
Joined: 9-November 04
From: Canada Ontario
Member No.: 4,136



I have a question regarding multiple parameter functions in C. If for example we rtake printf, we can pass different lenghted parameters to it

printf("");
printf("%d",num);
etc.....

How do I make a function which can take different parameters, so I don't always have to pass a static list of parameters to it

Thanks

Docmur


--------------------
Gentoo ROCKS!!!!! Go and emerge the world
Go to the top of the page
 
+Quote Post

Posts in this topic
- docmur   Multi parameter functions in C   Nov 17 2008, 10:21 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th November 2017 - 11:55 PM