
Flashcard sulle Struct in C
Flashcard
•
Computers
•
Vocational training
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

35 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Quale concetto spiega meglio la necessità delle struct rispetto agli array in C? Gli array possono contenere solo dati omogenei, Le struct permettono di gestire dati eterogenei, Gli array sono dinamici mentre le struct sono statiche, Le struct richiedono meno memoria degli array
Back
Le struct permettono di gestire dati eterogenei
2.
FLASHCARD QUESTION
Front
Quale parola chiave viene utilizzata per definire una struttura in C?
Back
struct
3.
FLASHCARD QUESTION
Front
Considera il codice: struct data { int giorno; int mese; int anno; }; Quale istruzione stampa correttamente la data? Options: scanf("%d/%d/%d", oggi.giorno, oggi.mese, oggi.anno);, puts("%d/%d/%d", oggi.giorno, oggi.mese, oggi.anno);, printf("%d/%d/%d", oggi.giorno, oggi.mese, oggi.anno);, printf("%s/%s/%s", oggi.giorno, oggi.mese, oggi.anno);
Back
printf("%d/%d/%d", oggi.giorno, oggi.mese, oggi.anno);
4.
FLASHCARD QUESTION
Front
Quale operazione NON è consentita direttamente tra due struct? Assegnamento diretto, Passaggio per valore in una funzione, Confronto diretto con '==', Utilizzo di sizeof
Back
Confronto diretto con '=='
5.
FLASHCARD QUESTION
Front
Quale affermazione è vera riguardo all'uso di typedef con le struct?
Back
typedef permette di creare un nuovo nome per il tipo struct
6.
FLASHCARD QUESTION
Front
Quale dichiarazione definisce correttamente una struct studente e ne dichiara subito una variabile? Options: struct studente { char nome[30]; int anni; } s1;, typedef struct { char nome[30]; int anni; } studente; studente s1;, struct studente { char nome[30]; int anni; }; struct studente s1;, Tutte le risposte proposte
Back
Tutte le risposte proposte
7.
FLASHCARD QUESTION
Front
Qual è il risultato di sizeof(struct data) se contiene 3 int (4 byte ciascuno), senza padding?
Back
12 byte
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
30 questions
Il Sistema Operativo
Flashcard
•
6th - 8th Grade
30 questions
C BASICS
Flashcard
•
Professional Development
25 questions
Assembly x86
Flashcard
•
10th - 12th Grade
25 questions
JavaScript Console & Graphics Review
Flashcard
•
9th - 12th Grade
24 questions
Java String class methods
Flashcard
•
10th - 12th Grade
30 questions
Flashcard sul Decadentismo
Flashcard
•
12th Grade - University
30 questions
Passato Prossimo Italiano - AVERE
Flashcard
•
12th Grade
29 questions
Kỹ năng sử dụng phần mềm văn phòng
Flashcard
•
University
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