Test your C language knowledge

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which language is the predecessor to C language?

  • C++
  • php
  • BCPL (correct)
  • java

Which of the following is not a basic data type in C?

  • char
  • int
  • float
  • number (correct)

Who developed the C programming language?

  • Peter Norton
  • Bill Gates
  • Dennis Ritchie (correct)
  • Ken Thompson

What is the use of 'break' in a switch statement in C?

<p>terminate loop (A)</p> Signup and view all the answers

What is the sizeof(float) in C?

<p>4 byte (A)</p> Signup and view all the answers

What is the valid range of numbers for the int type of data in C?

<p>-32768 to +32767 (A)</p> Signup and view all the answers

Which escape character can be used to begin a new line in C?

<p>\n (C)</p> Signup and view all the answers

How many keywords are there in C?

<p>32 (B)</p> Signup and view all the answers

Which symbol is used as a statement terminator in C?

<p>; (D)</p> Signup and view all the answers

Which of the following are tokens in C?

<p>All (C)</p> Signup and view all the answers

Flashcards are hidden until you start studying

More Like This

Use Quizgecko on...
Browser
Browser