Mercurial > hg > CbC > CbC_examples
view assignment.c @ 13:f442aa72b246
remove prototype and header from conv1
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Apr 2015 15:09:42 +0900 |
parents | |
children |
line wrap: on
line source
#include<stdio.h> int main(){ goto test(1,'a'); } __code test(int i, char c){ __code (*csp)(int,char,double) = test2; goto (*csp)(i,c,0.2); } __code test2(int i, char c, double d){ printf("i : %d \n",i); printf("i : %c \n",c); printf("i : %f \n",d); }