Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121775526
function_default_param.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jul 13, 19:17
Size
173 B
Mime Type
text/x-c
Expires
Tue, Jul 15, 19:17 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27388972
Attached To
R9360 PCSC_git
function_default_param.cpp
View Options
#include <iostream>
double
doIt
(
double
a
,
double
b
=
0.
)
{
return
a
+
b
;
}
int
main
()
{
std
::
cout
<<
doIt
(
10.
,
5.
)
<<
std
::
endl
;
std
::
cout
<<
doIt
(
10.
)
<<
std
::
endl
;
}
Event Timeline
Log In to Comment