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 |
in a town the percentage of men is 52 the percentage of total literacy is 48 if total percentage of literate men is 35 of the total population write a program to find the total no of the literate men and women if the population of the town is 80000
How pointer is benefit for design a data structure algorithm?
WRITE A C PROGRAM TO FIND SECOND BIGGEST VALUE FROM THE GIVEN VALUES
helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe
Who is the main contributor in designing the c language after dennis ritchie?
Simplify the program segment if X = B then C ← true else C ← false
what is computer
What does 4d mean in c?
Where is volatile variable stored?
What does c mean?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
What are the types of variables in c?