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 "Hungarian Notation"?
Write a program to find minimum between three no.s whithout using comparison operator.
What are the application of void data type in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
How do you define CONSTANT in C?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
What does 4d mean in c?
how can write all 1to 100 prime numbers using for loop,if and break ?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What are the different file extensions involved when programming in C?
What is the difference between break and continue?
Is c is a procedural language?