ถ้าต้องการก่าหนดให้ r มีค่าเป็น 15.2 ควรใช้ ข้อใด
แบบทดสอบภาษาซี(กลางภาค)ม.6

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
saijai yahata
Used 8+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
main() { int r ; r =15.2; }
main() {float r ; r =15.2; }
main() { int r = 15.2 ; }
main() { float r ; r = 15 ; }
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดคือผลลัพธ์เมื่อจบโปรแกรม printf("5+6=%d",11);
11
5+6=11
11=11
5+6=%d
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดคือผลลัพธ์เมื่อจบโปรแกรม printf("%f",3.9);
3
3.9
3.90
3.900000
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
รูปแบบการเขียน scanf ในข้อใดถูกต้อง
scanf("%f %f",&grade,gpa);
scanf("%d",age);
scanf("%c",&char);
scanf("%s",&name);
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดคือผลลัพธ์เมื่อจบโปรแกรม
int a=1,b=5,c=2;
a+=b-c;
printf("%d",a);
printf("%d",b);
33
35
44
45
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
โปรแกรมต้นก่าเนิดในภาษาซีจะมีนามสกุลเป็น
*.CPP
*.OBJ
*.EXE
*.LIB
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดเป็นการประกาศตัวแปรเก็บค่าตัวอักขระที่ถูกต้อง
char n
float t
int p
double x
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
ข้อสอบวิทยาการคำนวณป.1

Quiz
•
1st - 6th Grade
20 questions
MS Word 2013

Quiz
•
7th Grade
15 questions
coding

Quiz
•
8th - 12th Grade
20 questions
M5-1-ผังงาน

Quiz
•
KG - 11th Grade
18 questions
แบบทดสอบหลังเรียน Microsoft Excel ป.5

Quiz
•
4th - 6th Grade
20 questions
P6-Test-Microbit1

Quiz
•
6th Grade
20 questions
การเขียนโปรแกรมภาษาซี

Quiz
•
6th Grade
20 questions
วิทยาการคำนวณ อัลกอริทึม ป.6

Quiz
•
6th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
12 questions
Dividing Fractions

Quiz
•
6th Grade
9 questions
1. Types of Energy

Quiz
•
6th Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade
43 questions
LinkIt Test - 24-25_BM4_7th

Quiz
•
7th Grade
6 questions
Final Exam: Monster Waves

Quiz
•
6th Grade