Friday 15 March 2013

Ellipsis(...) Symbol in C

A different type of argument passing used in C which we is not very popular but very important to know.It is also used by printf and scanf function because we can pass variable no of variables in printf and scanf.We can see how we use this elipsis symbol in our program.So here is the snapshot of my program:

The output of this program will be 11 and 18 respectively.


No comments:

Post a Comment