Test your C language knowledge
10 Questions
0 Views

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</p> Signup and view all the answers

    What is the sizeof(float) in C?

    <p>4 byte</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</p> Signup and view all the answers

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

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

    How many keywords are there in C?

    <p>32</p> Signup and view all the answers

    Which symbol is used as a statement terminator in C?

    <p>;</p> Signup and view all the answers

    Which of the following are tokens in C?

    <p>All</p> Signup and view all the answers

    More Like This

    C++ Programming Language Overview
    10 questions
    Scripting Language and Computer Science
    9 questions
    Use Quizgecko on...
    Browser
    Browser