
pointer C++
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
grosu olga
Used 5+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tipul de date pointer conține _________
Valoarea variabilei
Adresa de memorie a variabilei
Numele variebilei
Nici unul din aceste valori
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Care din următoare declarație este corectă?
int *ptr;
int &ptr;
Pointer ptr;
toate enumerate
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Care din următoarele declarații afișează valoarea stocată la adresa indicată de Pointer a?
cout<<a;
cout<<*a;
cout<<&a;
cout<<val(a);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Care din următoarele declarații afișează adresa de memorie a Pointerului a?
cout<<a;
cout<<*a;
cout<<&a;
cout<<val(a);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ce va afișa secvența de cod?
int x = 15;
int *p = &x;
cout<<p;
valoare variabilei x stocate in poiterul p
adresa de memorie a variebilei x stocată în pointerul p
Nici un din aceste variante
adresa pointerului P
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ce va afișa secvența de cod?
int x = 3;
int p = &x;
x = x* (*p);
cout<<*p;
3
9
eroare
adresa de memorie a lui x
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ce va afișa secvența de cod?
int x = 10;
int *p;
p = &x+1;
cout<<*(p-1);
10
11
9
eroare
Similar Resources on Wayground
10 questions
Internet
Quiz
•
7th - 10th Grade
10 questions
Kuis tipedata, flowchart informatima kelas X j4njang SMA
Quiz
•
9th - 12th Grade
12 questions
HTML
Quiz
•
9th - 12th Grade
10 questions
Bài 15: Tạo màu cho chữ và nền
Quiz
•
12th Grade
10 questions
Циклы
Quiz
•
10th Grade
10 questions
Working around Adobe Photoshop
Quiz
•
12th Grade
10 questions
Administrasi Sistem Jaringan
Quiz
•
12th Grade
12 questions
Quiz
•
6th - 9th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
