Variable Length arguments ... Just because you don't see something doesn't mean it isn't there
I use to program in C and C++. Before this incident I was fully convinced with the fact that functions receive fixed number of arguments. I never OBSERVED the behavior of functions like printf ( ), sum ( ), min ( ), etc. we taught in our courses that these functions are differ than user defined functions because they are built-in functions. Yes, It's true but few things are still need to be discovered until I came across this ... I was reading JAVA docs and I came across this ...
I think does C or C++ have also have this feature? After doing couple of clicking on Internet ... I came across this
|_ i |\| K $:
In this blog I just post some surface based material, might be in some another blog I talk about question like How stack is maintained for such functions? and many more...
Comments
Post a Comment