博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
再调用函数时需要对函数进行声明
阅读量:6967 次
发布时间:2019-06-27

本文共 351 字,大约阅读时间需要 1 分钟。

hot3.png

#include "stdio.h" void printline(void);/*declaration(sometimes must be declared before call funtion)*/ main() {     printline();     printf("This illustrates the use of C funtions\n");     printline(); } void printline(void) {     int i;     for(i = 1; i < 40; i++)     printf("=");     printf("\n"); }

转载于:https://my.oschina.net/u/241930/blog/402181

你可能感兴趣的文章