Final assessment
C Programming Certification -- Final Test
10 questions spanning all five modules. Score 70% or higher (7/10) to pass and unlock your certificate.
You can take the test as a guest, but sign in first if you want your score saved and a certificate issued.
1. What is the output of: int x = 5; printf("%d", x++ + ++x);
2. Which operator has the lowest precedence in C?
3. What does `const int *p` mean?
4. Which function family reads formatted input from stdin?
5. What happens if you dereference a NULL pointer?
6. In `int arr[10]`, what is `sizeof(arr) / sizeof(arr[0])`?
7. Which storage class gives a variable external linkage across files by default?
8. Recursion without a reachable base case leads to:
9. malloc returns which type, requiring no cast in modern C?
10. Which of these correctly opens a struct array file for binary reading?