How can I write functions that take a variable number of arguments?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what is the definition of storage classes?

3 Answers   Wipro,


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

0 Answers  


write a program that will accept two integers and will implement division without using the division operator if the second value is an odd number and will implement multiplication without using multiplication operator if the second value is an even number.

1 Answers  


Explain function pointer with exapmles.

2 Answers  


why ordinary variable store the later value not the initial

1 Answers  


What is the difference between declaring a variable by constant keyword and #define ing that variable?

1 Answers  


player is good if the following conditions are satisfied: He is either from “India”, “Japan” or “Korea” He has a minimum of 3 years of experience He has won at least 3 major tournaments, and one of them must be "World Championship Tournament". He must know more than 10 techniques. (but see next question) If he knows less than 10 techniques, then he must be a world champion. His name contains at least 3 words. For example "Sachin Tendulkar" will not meet this condition. Write a method: boolean isGoodPlayer(String name, String country, int yearsExperience, String[] majorTournamentsWon, String[] techniques, boolean isWorldChampion) name country yearsExperience majorTournamentsWon techniques isWorldChampion

1 Answers  


What does nil mean in c?

0 Answers  


What are the advantages of c preprocessor?

0 Answers  


What is register variable in c language?

0 Answers  


Is array name a pointer?

0 Answers  


Is c procedural or object oriented?

0 Answers  


Categories