
แบบทบทวนก่อนเรียน ภาษา C + pointer basic
Authored by ธนาวัฒน์ บุญเอื้อ
Computers
6th - 8th Grade
Used 19+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใด ประกาศคำสั่ง include ได้ถูกต้อง
#include <stdio.h>
#include <stdioh>
#include <stdio>
#include <sth>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อมด เป็นคำสั่งเเสดงผลออก
pint
prinf
printf
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเป็นการประกาศ ฟังก์ชั่น main ได้ถูกต้อง
int main(){
return 0;
{
int main(){
return 0;
}
intmain(){
return0;
}
main(){
return 0;
}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ตัวแปรพอยต์เตอร์เก็บค่าข้อมูล ใข้อใด
ชนิดตัวแปร
ค่าของตัวแปร
ตำเเหน่งที่อยู่ของข้อมูล
ชื่อตัวแปร
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใด ประกาศตัวแปรพอยต์เตอร์ เพื่อชี้ไปค่าที่เป็น จำนวนเต็ม ได้ถูกต้อง
int *ptr;
int ptr*;
int ptr;
char prt;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใด คือ การกำหนดให้ตัวแปรพอยต์ x เก็บค่าที่อยู่ของข้อมูลของตัวแปร y ได้อย่างถูกต้อง
x = &y;
&x = &y;
*x = &y;
x = *y;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใด คือหน้าที่ของคำสั่ง \n
ขึ้นบรรทัดใหม่
ลบข้อมูลตัวสุดท้าย
เเสดงค่าข้อมูล
เเสดงข้อมูล n
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?