Quiz

C Language Basics Quiz

  1. 01.

    Which symbol is used to end statements in C?

  2. 02.

    How do you write a single-line comment in C?

  3. 03.

    What is the return type of the malloc() function?

  4. 04.

    What is the output of 'printf("%d", sizeof(char));'?

  5. 05.

    Which format specifier is used for a double data type?

  6. 06.

    Which of the following is not a valid identifier in C?

  7. 07.

    What is the purpose of 'extern' keyword?

  8. 08.

    How do you declare a pointer to an integer?

  9. 09.

    What does 'void' indicate in a function definition?

  10. 10.

    What is 'NULL' in C?