3 喜歡 0 不喜歡
115 瀏覽

#include <stdio.h>

int main()

{

int *ptr1, *ptr2, *ptr3, i = 1, j = 2, k = 3;

ptr1 = &i;

ptr2 = &j;

ptr3 = &k;

*ptr1 = *ptr2 = *ptr3;

k = i + j;

printf("%d\n", *ptr3);

return 0;

}

 

References: C From Theory

[正常] 開放式問答 - 最新提問 分類:Introduction to Computer Programming I (C) | 用戶: (20.9k 分)
ID: 21922 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 115 瀏覽
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.71.222.80
©2016-2024

相關問題

3 喜歡 0 不喜歡
0 回答
[正常] 開放式問答 - 最新提問 2月 12, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21933 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 111 瀏覽
3 喜歡 0 不喜歡
0 回答
[正常] 開放式問答 - 最新提問 2月 12, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21932 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 96 瀏覽
3 喜歡 0 不喜歡
0 回答
[正常] 開放式問答 - 最新提問 2月 12, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21928 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 108 瀏覽
3 喜歡 0 不喜歡
0 回答
[正常] 開放式問答 - 最新提問 2月 12, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21924 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 93 瀏覽
3 喜歡 0 不喜歡
0 回答
[正常] 開放式問答 - 最新提問 2月 12, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21921 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 118 瀏覽
12,783 問題
183,443 回答
172,219 留言
4,824 用戶