Mercurial > hg > CbC > CbC_examples
view normal.c @ 25:6324b8df04f1
lj_as2: fix segmentation fault
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 31 Jan 2016 21:44:55 +0900 |
parents | 0d306982c8b9 |
children |
line wrap: on
line source
#include<stdio.h> #include<stdlib.h> //size_t size; int size; typedef int test_int; test_int ti; void end(){ exit(0); } int main(int argc, char **argv){ size=0; ti=10; printf("main: "); printf("normal:%d\n", argc); size = 10; printf("size = %d\n", size); printf(" ti = %d\n", ti); end(); }