Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121646719
function_array_input.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
Sat, Jul 12, 19:17
Size
227 B
Mime Type
text/x-c
Expires
Mon, Jul 14, 19:17 (2 d)
Engine
blob
Format
Raw Data
Handle
27366452
Attached To
R9360 PCSC_git
function_array_input.cpp
View Options
#include <iostream>
double
doIt
(
double
array
[])
{
array
[
1
]
=
10.
;
return
array
[
1
];
}
int
main
()
{
double
u
[
10
];
std
::
cout
<<
doIt
(
u
)
<<
std
::
endl
;
double
*
u2
=
new
double
[
10
];
std
::
cout
<<
doIt
(
u2
)
<<
std
::
endl
;
}
Event Timeline
Log In to Comment