3 喜歡 0 不喜歡
298 瀏覽

#include <stdio.h>

int main()

{

int *ptr1, i = 10; double *ptr2, j = 1.23;

ptr1 = &i; ptr2 = &j;

*ptr1 = *ptr2;

printf("%d %d %d\n", i, sizeof (ptrl), sizeof(ptr2));

return 0;

         }

 

    References: C From Theory

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

相關問題

5 喜歡 0 不喜歡
0 回答
[正常] 開放式問答 - 最新提問 2月 19, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21975 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 378 瀏覽
5 喜歡 0 不喜歡
1 回答
[正常] 開放式問答 - 最新提問 2月 19, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21973 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 470 瀏覽
5 喜歡 0 不喜歡
0 回答
[正常] 開放式問答 - 最新提問 2月 19, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21972 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 375 瀏覽
4 喜歡 0 不喜歡
0 回答
[正常] 開放式問答 - 最新提問 2月 19, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21967 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 353 瀏覽
4 喜歡 0 不喜歡
0 回答
[正常] 開放式問答 - 最新提問 2月 19, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21966 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 353 瀏覽
12,783 問題
183,442 回答
172,219 留言
4,824 用戶