zoukankan
html css js c++ java
指针 数组
#include<iostream>
using namespace std;
int main()
{int a[8]={0,1,2,3,4,5,6,7};
int *p=a;
cout<<a<<endl;//输出0012FF60
cout<<p<<endl;//输出0012FF60
cout<<*(p+1)<<endl;//输出1;
cout<<p[2]<<endl;//输出2;
return 0;
}
数组与字符数组和指针的关系略有不同;
查看全文
相关阅读:
gpstop error: postmaster.pid file does not exist. is Greenplum instance already stopped
centos7 安装企业级消息队列 RabbitMQ
airflow入门demo
airflow + mysql(CentOS7安装MySQL(完整版))
Failed building wheel for psycopg2
centos7 安装 airflow(安装 centos7、python3.6、mysql5.7、airflow)
linux 和 windows Python pip 安装与使用, 安装包管理器 distribute
cocos2d学习网址
CCCallFunc CCCallFuncN CCCallFuncND的区别和使用
CCAction详解
原文地址:https://www.cnblogs.com/zhangdashuai/p/3702189.html
最新文章
.net ContextBoundObject
使用nant
策略模式、简单工厂结合
基本ietf文档
windows下使用openssl生成证书
js 位移运算
c# socket
log4net 使用
以自定义的规则来对元素分组
分离拥挤的单词
热门文章
查看系统正在与谁通信
开启或关闭隐藏项目
判断用户是否为管理员权限
检查错误的视频文件
启用 DHCP
设置网络优先级
反序操作
Linux下文件 ~/.bashrc 和 ~/.bash_profile 和 /etc/bashrc 和 /etc/profile 的区别 | 用户登录后加载配置文件的顺序
RabbitMQ 安装及启动报错 Error description: noproc 及 epmd error for host pg01: address (cannot connect to host/port)解决办法
CentOS使用yum指令显示"ImportError: No module named site"错误
Copyright © 2011-2022 走看看