【系統公告】頁面上方功能列及下方資訊全面更換新版,舊用戶可再切回舊版。 前往查看

計算機概論、大意(資訊科學概論,電腦常識,電子計算機概論)題庫下載題庫

上一題
38 下列選項中為有關 BASIC 與 C 程式語言之比較,何者正確?
(A) BASIC 與 C 程式語言編寫之程式中,資料變數(Variable)之名稱皆必須經宣告後才可使用
(B) BASIC 與 C 程式語言皆提供相同之資料型態(Data type)
(C) BASIC 與 C 程式語言皆提供 goto 敘述(Statement)
(D) BASIC 與 C 程式語言皆使用相同之算術運算符號(Arithmetic operator)


答案:登入後觀看
難度: 困難
3F
Poshao Liu 高三上 (2014/02/21)

A goto statement in C programming language provides an unconditional jump from the goto to a labeled statement in the same function.

NOTE: Use of goto statement is highly discouraged in any programming language because it makes difficult to trace the control flow of a program, making the program hard to understand and hard to modify. Any program that uses a goto can be rewritten so that it doesn't need the goto.

Syntax:

The syntax for a goto statement in C is as follows:

C語言也有gotogoto label;... label: statement;考選部答案是 ...


查看完整內容
4F
yakevinya不放手直 大一下 (2018/03/11)

建議答案修正為C

5F
【站僕】摩檸Morning 國三下 (2018/03/16)
原本答案為D,修改為C

38 下列選項中為有關 BASIC 與 C 程式語言之比較,何者正確? (A) ..-阿摩線上測驗