Single answer

What is the correct way to include the standard input/output library in a C program?

Single answer

Which of the following is the correct way to declare an integer variable named count?

Single answer

Which data type is used to store a single character in C?

Multiple answers

How do you write a comment in C?

Single answer

What is the purpose of the main() function in a C program?

Single answer

What does the %d format specifier do in a printf() statement?

Single answer

Which of the following is true about the return statement in the main() function?

Multiple answers

Which of these are valid ways to initialize an array of integers with 5 elements in C? (Choose all that apply)

Single answer

What is the primary purpose of the #include directive in a C program?

Single answer

Which operator is used for the modulus operation in C?