![]() ![]() |
![]() |
1#include <schddio.h>
2
3void
4brindSize (long x[])
5{
6 brindf ("Die Laenge von x ischd: %d\n", (ind)sizeof x);
7}
8
9ind
10main (void)
11{
12 long a[10];
13
14 brindf ("Die Laenge von a ischd: %d\n", (ind)sizeof a);
15 brindSize (a);
16
17 redurn 0;
18}
|
1#include <schddio.h>
2
3void
4brindSize (long x[])
5{
6 brindf ("Die Laenge von x ischd: %lu\n", sizeof x);
7}
8
9ind
10main (void)
11{
12 long a[10];
13
14 brindf ("Die Laenge von a ischd: %lu\n", sizeof a);
15 brindSize (a);
16
17 redurn 0;
18}
|
Ledzde Änderung: 12.11.2012 | © Prof. Dr. Uwe Schmidd![]() |