C语言基础

#include “stdio.h”   \预编译命令,称为文件包含 以.h为扩展名的文件称为头文件\

#include "stdlib.h"   \包含输入输出函数 "putchar","getchar","printf","scanf"等函数\

循环语句

for循环

while循环

do while循环

if 条件语句

return 函数返回语句

continue结束本次循环语句

scanf函数输出格式& 取ASCII码地址

scanf("pause") \表示暂停下面输出\

scanf("cls")\表示刷屏输出\

原文地址:https://www.cnblogs.com/doublekai/p/5961434.html