extremely simple question, just wanted to make sure of the answer. What would the code look like of you wanted to have a function prototype that declared two integers, one of which has a default value of 20?
extremely simple question, just wanted to make sure of the answer. What would the code look like of you wanted to have a function prototype that declared two integers, one of which has a default value of 20?
This has been a public service announcement from GOD.
111 1111
ggCode:void foo(int a, int b = 20); ... void foo(int a, int b/*=20*/) { ... }