diff options
Diffstat (limited to 'c/examples/zero_init/test.c')
l---------[-rw-r--r--] | c/examples/zero_init/test.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/c/examples/zero_init/test.c b/c/examples/zero_init/test.c index 5db109a..73e2712 100644..120000 --- a/c/examples/zero_init/test.c +++ b/c/examples/zero_init/test.c @@ -1,20 +1 @@ -#include <stdio.h> - -int set_xyz() { - int xyz = 1; - return xyz; -} - -int foo() { - int xyz; - return xyz; -} - -int main() { - printf("Foo return value: %d\n", foo()); - set_xyz(); - printf("Foo return value: %d\n", foo()); - set_xyz(); - printf("Foo return value: %d\n", foo()); - return 0; -} +../../../python/examples/zero_init/test.c
\ No newline at end of file |