Từ khóa nào được sử dụng để định nghĩa một cấu trúc trong C?

Session 21 + 22: Advanced Type - Struct

Quiz
•
Information Technology (IT)
•
University
•
Medium
academy rikkei
Used 28+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
struct
class
union
typedef
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để truy cập một trường dữ liệu trong cấu trúc, ta sử dụng ký hiệu nào?
*
&
.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để truy cập một trường dữ liệu của cấu trúc thông qua con trỏ cấu trúc, ta sử dụng ký hiệu nào?
.
->
&
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cấu trúc có thể bao gồm các loại dữ liệu nào?
Kiểu dữ liệu nguyên thủy
Mảng
Con trỏ
Tất cả các loại trên
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo một tên mới cho các kiểu dữ liệu có sẵn, ta sử dụng từ khóa nào?
typedef
define
alias
new
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Có thể khai báo con trỏ tới cấu trúc không?
a) Có
b) Không
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo một cấu trúc, cú pháp nào đúng?
a) struct StructName variableName = {value1, value2};
b) struct StructName variableName = (value1, value2);
c) struct StructName variableName = [value1, value2];
d) struct StructName variableName = {value1; value2};
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

Quiz
•
10th Grade - University
23 questions
Quizz về Anatomy of Mobile

Quiz
•
University
19 questions
Manufacturing IT part

Quiz
•
University
18 questions
Quizz về SQL Injection

Quiz
•
University
15 questions
Bài 33

Quiz
•
10th Grade - University
19 questions
Lưu trữ và chia sẻ tệp tin bài 6 tin 11 ict

Quiz
•
11th Grade - University
24 questions
ÔN TẬP TIN HỌC 5 HK2

Quiz
•
5th Grade - University
20 questions
Ktra thường xuyên Tin 11

Quiz
•
11th Grade - University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade