- Esecutori
-
Impara
Impara Python Esempi eseguibili, NumPy, pandas e altro Impara l'IA / Machine LearningReti neurali, ML e LLM da zero Impara C e C++ Puntatori, memoria, STL e C++ moderno Impara C#Fondamenti, OOP, LINQ, async ed esercizi .NET Impara MatplotlibGrafici a linee, barre, dispersione e torta con visualizzatori Impara RustOwnership, trait, gestione degli errori e thread Impara GoSlice, interfacce, goroutine e canali Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++ Programmazione per bambini Impara a programmare giocando!
- QuizNuovo
- SfideNuovo
- Per docentiNuovo
- Aggiornamenti
- Offrimi un caffè
Quiz di C
30 quiz di C con 300 domande a risposta multipla, dalle facili alle difficili. Ogni risposta è spiegata.
30 quiz · 300 domande
6 categorie
C17
Categorie di C
4 Facile1 Medio
Data Types & sizeof
printf & scanf
Operators & Integer Division
+2
0 su 5 superati
Inizia
1 Facile3 Medio1 Difficile
Functions & Prototypes
Pass by Value & Pointers
Recursion
+2
0 su 5 superati
Inizia
1 Facile3 Medio1 Difficile
Arrays
Strings & the Null Terminator
string.h Functions
+2
0 su 5 superati
Inizia
1 Facile2 Medio2 Difficile
Pointer Basics
Pointer Arithmetic
Pointers & Arrays
+2
0 su 5 superati
Inizia
1 Facile3 Medio1 Difficile
malloc, calloc & free
Memory Bugs
Structs & typedef
+2
0 su 5 superati
Inizia
2 Medio3 Difficile
Output-Based C Questions
Tricky C Questions
Preprocessor & Macros
+2
0 su 5 superati
Inizia
quiz trovati
1
Data Types & sizeof
Facile
Check what you know about C's basic types, their sizes and what sizeof really measures.
C · C Basics
#types#sizeof
10 domande · ~5 min
Da iniziare
Inizia
2
printf & scanf
Facile
Format output with printf and read input safely with scanf.
C · C Basics
#io#formatting
10 domande · ~5 min
Da iniziare
Inizia
3
Operators & Integer Division
Facile
Predict arithmetic results in C, from integer division and % to ++ and precedence.
C · C Basics
#operators#integer-division
10 domande · ~5 min
Da iniziare
Inizia
4
Type Casting & Integer Promotion
Medio
See how C converts between types, from explicit casts to the hidden promotions in every expression.
C · C Basics
#casting#gotchas
10 domande · ~6 min
Da iniziare
Inizia
5
if, switch & Loops
Facile
Trace if, switch, for, while and do-while in C, including switch fall-through.
C · C Basics
#loops#conditions#switch
10 domande · ~5 min
Da iniziare
Inizia
1
Functions & Prototypes
Facile
Define, declare and call C functions, and know why prototypes matter.
C · Functions & Scope
#functions#prototypes
10 domande · ~5 min
Da iniziare
Inizia
2
Pass by Value & Pointers
Medio
Understand why C functions get copies, and how pointers let them change the caller's variables.
C · Functions & Scope
#functions#pointers
10 domande · ~6 min
Da iniziare
Inizia
3
Recursion
Medio
Trace recursive C functions, from factorial and Fibonacci to the order of work around the call.
C · Functions & Scope
#recursion#functions
10 domande · ~6 min
Da iniziare
Inizia
4
static & Storage Classes
Difficile
Master static locals, internal linkage, extern and register, the C storage classes interviewers love.
C · Functions & Scope
#storage-classes#static
10 domande · ~8 min
Da iniziare
Inizia
5
Scope & Lifetime
Medio
Know where each C variable can be used and how long it lives, from blocks to globals.
C · Functions & Scope
#scope#lifetime
10 domande · ~6 min
Da iniziare
Inizia
1
Arrays
Facile
Declare, initialize, loop over and pass C arrays without surprises.
C · Arrays & Strings
#arrays#basics
10 domande · ~5 min
Da iniziare
Inizia
2
Strings & the Null Terminator
Medio
See how C stores text as char arrays ending in
'\0', and what that means for size and printing.
C · Arrays & Strings
#strings#null-terminator
10 domande · ~6 min
Da iniziare
Inizia
3
string.h Functions
Medio
Use
strlen, strcpy, strcat, strcmp, strchr and friends correctly, and know their traps.
C · Arrays & Strings
#strings#string-h
10 domande · ~6 min
Da iniziare
Inizia
4
2D Arrays
Medio
Index, initialize, size and pass two-dimensional arrays in C.
C · Arrays & Strings
#arrays#2d-arrays
10 domande · ~6 min
Da iniziare
Inizia
5
Buffer Overflows & Bounds
Difficile
Spot out-of-bounds reads and writes in C, and the habits and tools that prevent them.
C · Arrays & Strings
#security#arrays
10 domande · ~8 min
Da iniziare
Inizia
1
Pointer Basics
Facile
Take addresses with
&, follow them with * and change variables through pointers.
C · Pointers
#pointers#basics
10 domande · ~5 min
Da iniziare
Inizia
2
Pointer Arithmetic
Medio
Move pointers through arrays with
+, -, ++ and subtraction, and read *p++ correctly.
C · Pointers
#pointers#pointer-arithmetic
10 domande · ~6 min
Da iniziare
Inizia
3
Pointers & Arrays
Medio
See how array names turn into pointers, where they do not, and why
a[i] equals *(a + i).
C · Pointers
#pointers#arrays
10 domande · ~6 min
Da iniziare
Inizia
4
Pointer to Pointer
Difficile
Use
int ** to change a caller's pointer, build dynamic tables and walk arrays of strings.
C · Pointers
#pointers#double-pointers
10 domande · ~8 min
Da iniziare
Inizia
5
Function Pointers
Difficile
Store functions in variables and arrays, pass them as callbacks and read their declarations.
C · Pointers
#pointers#functions
10 domande · ~8 min
Da iniziare
Inizia
1
malloc, calloc & free
Medio
Allocate, resize and release heap memory in C without losing track of it.
C · Memory & Structs
#memory#heap
10 domande · ~6 min
Da iniziare
Inizia
2
Memory Bugs
Difficile
Spot leaks, double frees, use after free and other heap bugs in short C programs.
C · Memory & Structs
#memory#debugging
10 domande · ~8 min
Da iniziare
Inizia
3
Structs & typedef
Facile
Group related data with structs, initialise them and give them short names with typedef.
C · Memory & Structs
#structs#typedef
10 domande · ~5 min
Da iniziare
Inizia
4
Unions & Enums
Medio
Name your constants with enums and share storage between members with unions.
C · Memory & Structs
#unions#enums
10 domande · ~6 min
Da iniziare
Inizia
5
Bitwise Operators
Medio
Set, clear, toggle and test bits with &, |, ^, ~ and the shift operators.
C · Memory & Structs
#bitwise#output-prediction
10 domande · ~6 min
Da iniziare
Inizia
1
Output-Based C Questions
Medio
Predict what short C programs print, the classic interview warm-up.
C · C Interview Questions
#output-prediction#interview
10 domande · ~6 min
Da iniziare
Inizia
2
Tricky C Questions
Difficile
Real C gotchas from interviews, where the obvious answer is wrong.
C · C Interview Questions
#gotchas#interview
10 domande · ~8 min
Da iniziare
Inizia
3
Preprocessor & Macros
Medio
Predict macro expansions and avoid the classic
C · C Interview Questions
#macros#preprocessor
10 domande · ~6 min
Da iniziare
Inizia
4
Undefined Behavior
Difficile
Recognise undefined behaviour in C and understand why the compiler may do anything.
C · C Interview Questions
#undefined-behavior#interview
10 domande · ~8 min
Da iniziare
Inizia
5
C: Find the Bug
Difficile
Read short C programs with a real bug, predict what they do and name the fix.
C · C Interview Questions
#debugging#interview
10 domande · ~8 min
Da iniziare
Inizia
Nessun quiz trovato. Prova con un'altra parola o un altro tag.
I più giocati della settimana
- 1 Type Casting & Integer Promotion MedioC Basics#casting#gotchas
- 2 Pass by Value & Pointers MedioFunctions & Scope#functions#pointers
- 3 Recursion MedioFunctions & Scope#recursion#functions
- 4 Scope & Lifetime MedioFunctions & Scope#scope#lifetime
- 5 Strings & the Null Terminator MedioArrays & Strings#strings#null-terminator