how many argument we can pas in in a function
Answers were Sorted based on User's Feedback
Answer / apurve kadawat
We can pass any no.of parameters.The upperlimit can be found
out by knowing the stack size for that function alloted by
the operating system.Therefore it is dependent upon the
operating system how much stack it is allocating.
| Is This Answer Correct ? | 0 Yes | 0 No |
depending upon requirements we can pass no of arguments in
functions
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sudeep dutta
Any number of parameters can be passed.The parameters may be
of any type.But the number of parameters used completely
depends on the function that you have declared.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / subbu
maximum number of arguments for a single function is 253
| Is This Answer Correct ? | 2 Yes | 3 No |
What is macro?
If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
Explain how do you declare an array that will hold more than 64kb of data?
6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
How can I direct output to the printer?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What is the difference between struct and typedef struct in c?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
What is the difference between functions abs() and fabs()?
Why can arithmetic operations not be performed on void pointers?
2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value