Quiz

C Language Basics Quiz

  1. 01.

    Which symbol is used to end statements in C?

  2. 02.

    Which loop runs at least once?

  3. 03.

    Which function is used to find the length of a string in C?

  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.

    What is the result of 10 / 3 in C (integer division)?

  7. 07.

    Which function is used to free dynamically allocated memory?

  8. 08.

    How do you define a structure in C?

  9. 09.

    What is the size of an 'int' on a 32-bit machine?

  10. 10.

    What is 'NULL' in C?