手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
人工智能
栏目导航
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ CMS系统
▸ 服务器
▸ 数据库
公众号推荐
微信公众号搜
"智元新知"
关注
微信扫一扫可直接关注哦!
子栏目导航
php实例代码
Javascript实例代码
python实例代码
Shell实例代码
Sql实例代码
正则表达式实例代码
Python函数
Java实例代码
C#实例代码
C语言实例代码
C++实例代码
Erlang实例代码
Dart实例代码
D3.js实例代码
D语言实例代码
CSS实例代码
Cobol实例代码
Clojure实例代码
Bootstrap实例代码
Vue实例代码
Angular实例代码
汇编语言实例
编程之家
C语言实例代码
C语言NULL指针
// C语言NULL指针 // C语言NULL指针 -------------------- #include <stdio.h> int main () { int*ptr = NULL;
作者:编程之家 时间:2022-07-04
C语言如何使用指针
#include <stdio.h> int main () { intvar = 20;/* actual variable declaration */ int*ip;/* pointer variable declaration */
作者:编程之家 时间:2022-07-04
C语言打印变量的地址
#include <stdio.h> int main () { intvar1; char var2[10]; printf("Address of var1 variable: %x\\n", &var1);
作者:编程之家 时间:2022-07-04
C语言指向数组的指针
#include <stdio.h> int main () { /* an array with 5 elements */ double balance[5] = {1000.0, 2.0, 3.4, 17.0, 50.0};
作者:编程之家 时间:2022-07-04
C语言从函数返回数组
#include <stdio.h> /* function to generate and return random numbers */ int * getRandom( ) { static intr[10];
作者:编程之家 时间:2022-07-04
C语言访问二维数组元素
#include <stdio.h> int main () { /* an array with 5 rows and 2 columns*/ int a[5][2] = { {0,0}, {1,2}, {2,4}, {3,6},{4,8}};
作者:编程之家 时间:2022-07-04
C语言访问数组元素
#include <stdio.h> int main () { int n[ 10 ]; /* n is an array of 10 integers */ int i,j; /* initialize elements of array n to 0 */
作者:编程之家 时间:2022-07-04
C语言形式参数形参
#include <stdio.h> /* global variable declaration */ int a = 20; int main () { /* local variable declaration in main function */
作者:编程之家 时间:2022-07-04
C语言局部和全局变量
#include <stdio.h> // C语言局部和全局变量 /* global variable declaration */ int g = 20; int main () {
作者:编程之家 时间:2022-07-04
C语言全局变量
#include <stdio.h> /* global variable declaration */ int g; int main () { /* local variable declaration */
作者:编程之家 时间:2022-07-04
C语言局部变量
#include <stdio.h> int main () { /* local variable declaration */ int a, b; int c; /* actual initialization */
作者:编程之家 时间:2022-07-04
C语言调用函数
#include <stdio.h> /* function declaration */ int max(int num1, int num2); int main () { /* local variable definition */
作者:编程之家 时间:2022-07-04
C语言goto语句
#include <stdio.h> int main () { /* local variable definition */ int a = 10; /* do loop execution */
作者:编程之家 时间:2022-07-04
C语言continue语句
#include <stdio.h> int main () { /* local variable definition */ int a = 10; /* do loop execution */
作者:编程之家 时间: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> #include <string.h> struct Books { chartitle[50]; charauthor[50]; charsubject[100];
作者:编程之家 时间:2022-07-04
C语言联合union
#include <stdio.h> #include <string.h> union Data { int i; float f; char str[20]; }; int main( ) {
作者:编程之家 时间:2022-07-04
C语言访问联合成员
#include <stdio.h> #include <string.h> union Data { int i; float f; char str[20]; }; int main( ) {
作者:编程之家 时间:2022-07-04
C语言一次使用变量
#include <stdio.h> #include <string.h> union Data { int i; float f; char str[20]; }; int main( ) {
作者:编程之家 时间:2022-07-04
C语言位域
#include <stdio.h> #include <string.h> /* define simple structure */ struct { unsigned int widthValidated;
作者:编程之家 时间:2022-07-04
C语言位域声明
#include <stdio.h> #include <string.h> struct { unsigned int age : 3; } Age; int main( ) { Age.age = 4;
作者:编程之家 时间:2022-07-04
C语言typedef
#include <stdio.h> #include <string.h> typedef struct Books { char title[50]; char author[50];
作者:编程之家 时间:2022-07-04
C语言typedef与#define
// ------------------------------------- #include <stdio.h> #define TRUE1 #define FALSE 0 int main( ) {
作者:编程之家 时间:2022-07-04
C语言预定义的宏
// -------------------------------------- #include <stdio.h> main() { printf("File :%s\\n", __FILE__ );
作者:编程之家 时间:2022-07-04
C语言3个整数的数组
#include <stdio.h> const int MAX = 3; int main () { intvar[] = {10, 100, 200}; int i; for (i = 0; i < MAX; i++) {
作者:编程之家 时间:2022-07-04
C语言指针数组
#include <stdio.h> const int MAX = 3; int main () { intvar[] = {10, 100, 200}; int i, *ptr[MAX]; for ( i = 0; i < MAX; i++) {
作者:编程之家 时间:2022-07-04
C语言字符串列表
#include <stdio.h> const int MAX = 4; int main () { char *names[] = { "Zara Ali", "Hina Ali",
作者:编程之家 时间:2022-07-04
C语言指针的指针
#include <stdio.h> int main () { intvar; int*ptr; int**pptr; var = 3000; /* take the address of var */
作者:编程之家 时间:2022-07-04
C语言传递无符号长指针
#include <stdio.h> #include <time.h> void getSeconds(unsigned long *par); int main () { unsigned long sec;
作者:编程之家 时间:2022-07-04
C语言接受一个指针
#include <stdio.h> /* function declaration */ double getAverage(int *arr, int size); int main () {
作者:编程之家 时间:2022-07-04
上一页
11
12
13
14
15
16
17
18
下一页
小编推荐
热门标签
更多
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