blob: 978ee9f3e2a82522984cfc248797882583bd257c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <iostream>
/*
*
* 6.38
*
*
*/
int odd[] = {1,3,5,7,9};
int even[] = {0,2,4,6,8};
auto arrPtr(int i) -> int (&)[5] {
return (i % 2) ? odd : even;
}
int main () {
return 0;
}
|