How can I discover how many arguments a function was actually called with?
Answer / Kaushambi Singh
The number of arguments passed to a function in C can be discovered by checking the number of elements in the argument list provided to the main() function or using variable argument lists (varargs) by including stdarg.h header file.
| Is This Answer Correct ? | 0 Yes | 0 No |
what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }
what is difference between userlevel threads and kernel level threads ?what are the trades offs between these two approaches ? what approach is most frequently used and why ?
Can 'this' pointer by used in the constructor?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
In a byte, what is the maximum decimal number that you can accommodate?
how can i get this by using for loop? * ** * **** * ******
Explain what is the benefit of using an enum rather than a #define constant?
print out of string in this format; 1. "rajesh" 2. \n 3. %d
Why c++ is called c++ and not c+?
How many loops are there in c?
Can a local variable be volatile in c?
. Write a program to get a string and to convert the 1st letter of it to uppercase