3 喜歡 0 不喜歡
87 瀏覽

How many times is the next while loop executed?

#include <stdio.h>

int main()

{

int a = 256,

b = 4;

while(a != b)

               b = b*b;

               return 0;

           }

 

References: C From Theory

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

相關問題

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