how many argument we can pas in in a function
Answer Posted / 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 |
Post New Answer View All Answers
What is the use of getchar() function?
What does *p++ do?
how is the examination pattern?
What are valid operations on pointers?
Explain the difference between null pointer and void pointer.
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
Can you write a programmer for FACTORIAL using recursion?
What does c in a circle mean?
What are the Advantages of using macro
What is identifiers in c with examples?
What is meant by type specifiers?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What are the similarities between c and c++?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
Explain a file operation in C with an example.