
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
Test Alocare dinamica

Quiz
•
10th Grade
10 questions
Array

Quiz
•
10th Grade
10 questions
Programming with C++

Quiz
•
9th - 12th Grade
10 questions
10 ԹԳՀԳ 2-րդ կիսամյակ ամփոփիչ գրավոր աշխատանք/ֆունկցիաներ/

Quiz
•
10th Grade
10 questions
Coding C++ - X2

Quiz
•
10th Grade
9 questions
Recursivitate

Quiz
•
11th Grade
10 questions
Kuis Percabangan dan Perulangan

Quiz
•
10th Grade
10 questions
Сортировки

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade