view test_call.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 35d6eabeadb0
children
line wrap: on
line source

#include<stdio.h>
int test(int a){
  printf("a = %d\n", a);
  return 10*a;
}

int main(){
  test(10);
  return 0;
}