首页题目详情
What is the purpose of declarative statements in programming languages?

A.To declare the program's syntax structure
B.To declare the program's semantics
C.To declare variables and their data types
D.To declare the program's output
优质解答
答案
C
解析
Declarative statements are used to declare variables and their data types, which is part of the semantic structure that defines how the program will process data.
计算机专业英语单选题中等AI生成