how many argument we can pas in in a function
Answers were Sorted based on User's Feedback
Answer / parthipan
As much as we can. But As all the function parameters are
passed through the stack there are changes that the stack
may overflow which will cause abnormal termination.
Is This Answer Correct ? | 27 Yes | 0 No |
Answer / venu gopal raju
depending on our requirement we can pass many as arguments
to a function.
Is This Answer Correct ? | 13 Yes | 2 No |
Answer / prakash.m
any number of arguments based on our functionality
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / bryan olson
The language allows any number, but a C implementation may
impose a limit. The current standard requires conforming
compilers to allow 127 parameters.
[International Standard ISO/IEC 9899:1999 Programming
Languages -- C, Section 5.2.4.1 Translation limits]
Good answers: "any number", "many", "as many as we need",
"I'd have to look that up."
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / roxin thomas
Any number of arguments can be passed to a function being
called. However, the type, order and number of the actual
and formal arguments must always be same.
Is This Answer Correct ? | 2 Yes | 0 No |
What is volatile keyword in c?
What is the purpose of main( ) in c language?
What are called c variables?
What is c basic?
What does %f mean c?
what is data structure
What is the equivalent code of the following statement in WHILE LOOP format?
Why is c faster?
Write a program to accept a character & display its corrosponding ASCII value & vice versa?
What is data structure in c programming?
write a program to concatenation the string using switch case?
If null and 0 are equivalent as null pointer constants, which should I use?