Search Header Logo
Câu hỏi về mã lập trình

Câu hỏi về mã lập trình

Assessment

Flashcard

Computers

University

Easy

Created by

ngọc trịnh

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

2 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Kết quả của đoạn mã dưới đây khi được thực thi là gì?

Back

D. 6

2.

FLASHCARD QUESTION

Front

Đoạn mã nào sau đây sẽ tăng giá trị của biến x?

Back

void inc(int* a) { for(int i=0;i<5;i++) (*a)++; } int main() { int x = 1; inc(&x); printf("%d", x); }

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?