手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
人工智能
栏目导航
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ CMS系统
▸ 服务器
▸ 数据库
公众号推荐
微信公众号搜
"智元新知"
关注
微信扫一扫可直接关注哦!
子栏目导航
php实例代码
Javascript实例代码
python实例代码
Shell实例代码
Sql实例代码
正则表达式实例代码
Python函数
Java实例代码
C#实例代码
C语言实例代码
C++实例代码
Erlang实例代码
Dart实例代码
D3.js实例代码
D语言实例代码
CSS实例代码
Cobol实例代码
Clojure实例代码
Bootstrap实例代码
Vue实例代码
Angular实例代码
汇编语言实例
编程之家
C语言实例代码
静态存储类
#include <stdio.h> /* function declaration */ void func(void); static int count = 5; /* global variable */
作者:编程之家 时间:2022-07-04
const关键字
#include <stdio.h> int main() { const intLENGTH = 10; const intWIDTH = 5; const char NEWLINE = '\\n';
作者:编程之家 时间:2022-07-04
#define预处理器
#include <stdio.h> #define LENGTH 10 #define WIDTH5 #define NEWLINE ' ' int main() { int area;
作者:编程之家 时间:2022-07-04
C语言字符常量
C语言字符常量 - #include <stdio.h> int main() { printf("Hello\\tWorld\\n\\n"); return 0;
作者:编程之家 时间:2022-07-04
C语言变量声明
#include <stdio.h> // Variable declaration: extern int a b; extern int c; extern float f; int main () {
作者:编程之家 时间:2022-07-04
C语言浮点类型
#include <stdio.h> #include <float.h> int main() { printf("Storage size for float : %d \\n" sizeof(float));
作者:编程之家 时间:2022-07-04
C语言整数类型
#include <stdio.h> #include <limits.h> int main() { printf("Storage size for int : %d \\n" sizeof(int));
作者:编程之家 时间:2022-07-04
C语言Hello World程序
C语言Hello World程序 - #include <stdio.h> int main() { /* my first program in C */ printf("Hello, World! \\n");
作者:编程之家 时间:2022-07-04
C语言break语句
#include <stdio.h> int main () { /* local variable definition */ int a = 10; /* while loop execution */
作者:编程之家 时间:2022-07-04
C语言嵌套循环
#include <stdio.h> int main () { /* local variable definition */ int i, j; for(i = 2; i<100; i++) {
作者:编程之家 时间:2022-07-04
C语言do...while循环
#include <stdio.h> int main () { /* local variable definition */ int a = 10; /* do loop execution */
作者:编程之家 时间:2022-07-04
C语言运算符优先级
#include <stdio.h> main() { int a = 20; int b = 10; int c = 15; int d = 5; int e; e = (a + b) * c / d;// ( 30 * 15 ) / 5
作者:编程之家 时间:2022-07-04
C语言if语句
#include <stdio.h> int main () { /* local variable definition */ int a = 10; /* check the boolean condition using if statement */
作者:编程之家 时间:2022-07-04
C语言if...else语句
#include <stdio.h> int main () { /* local variable definition */ int a = 100; /* check the boolean condition */
作者:编程之家 时间:2022-07-04
C语言if...else if...else语句
#include <stdio.h> int main () { /* local variable definition */ int a = 100; /* check the boolean condition */
作者:编程之家 时间:2022-07-04
C语言嵌套if语句
#include <stdio.h> int main () { /* local variable definition */ int a = 100; int b = 200; /* check the boolean condition */
作者:编程之家 时间:2022-07-04
C语言switch语句
#include <stdio.h> int main () { /* local variable definition */ char grade = 'B'; switch(grade) {
作者:编程之家 时间:2022-07-04
C语言嵌套的switch语句
#include <stdio.h> int main () { /* local variable definition */ int a = 100; int b = 200; switch(a) {
作者:编程之家 时间:2022-07-04
C语言while循环
#include <stdio.h> // C语言while循环 int main () { /* local variable definition */ int a = 10; /* while loop execution */
作者:编程之家 时间:2022-07-04
C语言for循环
#include <stdio.h> // C语言for循环 int main () { int a; /* for loop execution */ for( a = 10; a < 20; a = a + 1 ){
作者:编程之家 时间:2022-07-04
C语言sizeof和三元运算符
#include <stdio.h> main() { int a = 4; short b; double c; int* ptr; /* example of sizeof operator */ printf("Line 1 - Size of variable a = %d\\n", sizeof(a) );
作者:编程之家 时间:2022-07-04
C语言赋值运算符
#include <stdio.h> main() { int a = 21; int c ; c =a; printf("Line 1 - =Operator Example, Value of c = %d\\n", c );
作者:编程之家 时间:2022-07-04
C语言按位运算符
#include <stdio.h> main() { unsigned int a = 60;/* 60 = 0011 1100 */ unsigned int b = 13;/* 13 = 0000 1101 */
作者:编程之家 时间:2022-07-04
C语言逻辑运算符
#include <stdio.h> main() { int a = 5; int b = 20; int c ; if ( a && b ) { printf("Line 1 - Condition is true\\n" );
作者:编程之家 时间:2022-07-04
C语言关系运算符
#include <stdio.h> main() { int a = 21; int b = 10; int c ; if( a == b ) { printf("Line 1 - a is equal to b\\n" );
作者:编程之家 时间:2022-07-04
C语言算术运算符
#include <stdio.h> main() { int a = 21; int b = 10; int c ; c = a + b; printf("Line 1 - Value of c is %d\\n", c );
作者:编程之家 时间:2022-07-04
C语言访问结构成员
#include <stdio.h> #include <string.h> struct Books { chartitle[50]; charauthor[50]; charsubject[100];
作者:编程之家 时间:2022-07-04
C语言指针比较
#include <stdio.h> const int MAX = 3; int main () { intvar[] = {10, 100, 200}; inti, *ptr; /* let us have address of the first element in pointer */
作者:编程之家 时间:2022-07-04
C语言递减指针
#include <stdio.h> const int MAX = 3; int main () { intvar[] = {10, 100, 200}; inti, *ptr; /* let us have array address in pointer */
作者:编程之家 时间:2022-07-04
C语言递增指针
#include <stdio.h> const int MAX = 3; int main () { intvar[] = {10, 100, 200}; inti, *ptr; /* let us have array address in pointer */
作者:编程之家 时间:2022-07-04
上一页
10
11
12
13
14
15
16
17
下一页
小编推荐
热门标签
更多
python
JavaScript
java
HTML
reactjs
C#
Android
CSS
Node.js
sql
r
python-3.x
MysqL
jQuery
c++
pandas
Flutter
angular
IOS
django
linux
swift
typescript
路由器
JSON
路由器设置
无线路由器
h3c
华三
华三路由器设置
华三路由器
电脑软件教程
arrays
docker
软件图文教程
C
vue.js
laravel
spring-boot
react-native