Variadic function: Difference between revisions

(added objective c)
Line 273:
}
 
// This function can be called with any (positive) number or type of objects, as long as you terminate it with <code>nil</code>:
printAll(@"Rosetta", @"Code", @"Is", @"Awseome!", nil);
printAll([NSNumber numberWithInt:4],
Anonymous user