
pointer C++

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
grosu olga
Used 5+ times
FREE Resource
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
C++ Basics Quiz

Quiz
•
9th - 12th Grade
10 questions
Pengantar Modularisasi

Quiz
•
11th Grade
10 questions
Operators in C

Quiz
•
9th - 12th Grade
10 questions
C++ vs Python: A Quiz Introduction

Quiz
•
11th Grade - University
7 questions
Java Basics #2

Quiz
•
10th - 12th Grade
9 questions
Instructiuni Repetitive C++

Quiz
•
10th Grade
12 questions
Символьные строки, операции со строками - С++

Quiz
•
10th Grade
8 questions
Functii quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade