
Les pointeurs et structures en C

Quiz
•
Information Technology (IT)
•
University
•
Hard
Said ELABDELLAOUI
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
À quoi sert l'opérateur `&` en C ?
À additionner deux entiers
À obtenir l'adresse mémoire d'une variable
À afficher une variable
À déclarer un pointeur
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle est la déclaration correcte d'un pointeur vers un entier ?
int pA;
int &pA;
int *pA;
int pointer pA;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Que fait l'instruction `pA = &a;` ?
Elle assigne la valeur de a à pA
Elle assigne l'adresse de a à pA
Elle additionne pA et a
Elle affiche la valeur de a
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle instruction permet de modifier la valeur pointée par `pA` ?
pA = 10;
*pA = 10;
&pA = 10;
a = *pA;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Que va afficher ce code ? int a = 5; int *pA = &a; printf("%d\n", *pA);
L'adresse de a
Le chiffre 5
Une erreur
Rien
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quel est le type de `&a` si `a` est un entier (`int a;`) ?
int
float
int *
char *
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle est la sortie de ce code ? int a = 2; int *p = &a; *p = 7; printf("%d", a);
2
7
L'adresse de a
Une erreur
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Fundamentos de Programación en Python

Quiz
•
6th Grade - University
15 questions
Bài 29

Quiz
•
10th Grade - University
10 questions
Quiz CG - Code V2

Quiz
•
University
14 questions
Teste de SQL: Tabelas e Inserções

Quiz
•
10th Grade - University
13 questions
HTML QUIZ

Quiz
•
6th Grade - University
12 questions
Transformação Digital

Quiz
•
University
10 questions
Repaso Segundo Parcial - AdC 2024 - K1031

Quiz
•
University
12 questions
Đề cương Công Nghệ Lớp 5 Kì 2

Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University