当前位置:网站首页>Refers to the difference between IP and *ip at output
Refers to the difference between IP and *ip at output
2022-06-30 04:09:00 【Elvin Yuwen】
#include<bits/stdc++.h>
using namespace std;
// Integer variables and pointers
int main( )
{
int n,*ip;
cin >> n;
ip = &n;
cout << *ip << endl;
return 0;
}*ip Output results :
3
3
--------------------------------
Process exited after 1.439 seconds with return value 0
Please press any key to continue . . .
ip Output code
#include<bits/stdc++.h>
using namespace std;
// Integer variables and pointers
int main( )
{
int n,*ip;
cin >> n;
ip = &n;
cout << ip << endl;
return 0;
}ip Output results
3
0x71fe14
--------------------------------
Process exited after 0.9228 seconds with return value 0
Please press any key to continue . . .
边栏推荐
- Grasp grpc communication framework in simple terms
- The new paradigm of AI landing is "hidden" in the next major upgrade of software infrastructure
- 深入浅出掌握grpc通信框架
- Day 12 advanced programming techniques
- Selenium environment installation, 8 elements positioning --01
- (Reprinted) an article will take you to understand the reproducing kernel Hilbert space (RKHS) and various spaces
- 基于海康EhomeDemo工具排查公网部署出现的视频播放异常问题
- el-upload上傳文件(手動上傳,自動上傳,上傳進度)
- The school training needs to make a registration page. It needs to open the database and save the contents entered on the registration page into the database
- 华为云原生——数据开发与DataFactory
猜你喜欢

Interface testing -- how to analyze an interface?

深入浅出掌握grpc通信框架

lego_loam 代码阅读与总结

How to solve the problem of link hyperlinks when trying to link the database?

Day 11 script and game AI

Solve the problem of Navicat connecting to the database

EasyCVR部署服务器集群时,出现一台在线一台不在线是什么原因?

When easycvr deploys a server cluster, what is the reason why one is online and the other is offline?

(03).NET MAUI实战 基础控件

基于ROS的SLAM建图、自动导航、避障(冰达机器人)
随机推荐
Postman learning sharing
[operation] MySQL query operation 2 on May 25, 2022
《机器人SLAM导航核心技术与实战》第1季:第0章_SLAM发展综述
Troubleshoot abnormal video playback problems in public network deployment based on Haikang ehomedemo tool
dotnet-exec 0.5.0 released
Knowledge - how to build rapport in sales with 3 simple skills
Solve the problem of Navicat connecting to the database
EasyCVR部署服务器集群时,出现一台在线一台不在线是什么原因?
Sql语句遇到的错误,求解
[operation] MySQL query on May 24, 2022
ThingsBoard教程(二三):在规则链中计算二个设备的温度差
Cloud native -- websocket of Web real-time communication technology
尝试链接数据库时出现链接超时报错,如何解决?
(03). Net Maui actual combat basic control
云原生——Web实时通信技术之Websocket
【云原生】AI云开发平台——AI Model Foundry介绍(开发者可免费体验AI训练模型)
[note] Introduction to data analysis on June 7, 2022
Day 12 advanced programming techniques
If you encounter problems when using spark for the first time, please ask for help
Ananagrams(UVA156)