摘要:
#include<stdio.h> int f1(int x,int y)//返回大 { printf("this is f1\t\n"); return x>y?x:y; } int f3(int x,int y)//返回小 { printf("this is f3\t\n"); return x
阅读全文
posted @ 2016-06-14 11:15
miracley
阅读(130)
推荐(0)
编辑
摘要:
#include<stdio.h>#include<string.h> int main(int argc,char *arg[]){ char alls[4]={'a','b','c'}; printf("%s\n",alls);} c语言中,如果想直接输出char数组中的所用内容,直接输出数组名
阅读全文
posted @ 2016-06-14 10:20
miracley
阅读(120)
推荐(0)
编辑
摘要:
#include<stdio.h> typedef struct A { int a; char b; } foo;int f2(){ printf("this is f2\n"); return 2;} void f3(int x,char y){ printf("this is f3 + %d\
阅读全文
posted @ 2016-06-14 10:01
miracley
阅读(877)
推荐(0)
编辑