C Basics

🏷️ Basic
🆓 100% Free Certificate 10 Questions 5 minutes 10 Views

This test evaluates your foundational knowledge of C Programming, covering variables, loops, conditionals, and basic input/output operations. To build a solid foundation, explore Learn-C.org Interactive Tutorials, check out the C Programming Guide on GeeksforGeeks, and watch this beginner-friendly C Programming Crash Course on YouTube.

1 What is C?
2 Which is the correct way to declare a variable in C?
3 What is the entry point of a C program?
4 Which header file is needed for printf()?
5 How do you create a single-line comment in C?
6 Which loop is guaranteed to execute at least once?
7 What is the size of an int in C?
8 How do you declare a constant in C?
9 Which operator is used to get the memory address of a variable?
10 What is the correct format specifier for a double?