here is an example:
Code:void function(int x, int y=0) { //whatever in here //if no value is passed for y, it'll be 0 by default.. }
|
Results 1 to 4 of 4
Thread: Default paramThreaded View
|
Click Here to Expand Forum to Full Width |