MCQ On C Programming Language

10 Questions  I  By Allcompiler
Please take the quiz to rate it.

 MCQ on c programming language
Online MCQ Quiz on C Programming Language No. Of Questions:- 10 Time:- 10 Minutes Full Mark:- 100 Pass Mark:- 70 This Quiz if for those user who wants to test their command over the programming language. for more MCQ Questions and Online MCQ Quiz please visit http://www. Allcompiler. Com

  
Changes are done, please start the quiz.


Questions and Answers

Removing question excerpt is a premium feature

Upgrade and get a lot more done!
  • 1. 
    C language has been developed by ?
    • A. 

      Ken Thompson

    • B. 

      Dennis Ritchie

    • C. 

      Peter Norton

    • D. 

      Martin Richards


  • 2. 
    C can be used on ?
    • A. 

      Only MS-DOS

    • B. 

      Only Linux

    • C. 

      Only window

    • D. 

      All of the above


  • 3. 
    C programs are convrted into the machine language with the help of ?
    • A. 

      An editor

    • B. 

      Compiler

    • C. 

      An operating system

    • D. 

      None of the above


  • 4. 
    The real constant in C can be expressed which of the following forms ?
    • A. 

      Fractional form only

    • B. 

      Exponetial form only

    • C. 

      ASCII form only

    • D. 

      Both Fractional and Exponetial


  • 5. 
    A character variable can at a time score ?
    • A. 

      1 character

    • B. 

      8 characters

    • C. 

      254 characters

    • D. 

      None of the above


  • 6. 
    The statement char ch='z' would store in ch
    • A. 

      The character Z

    • B. 

      ASCII value of Z

    • C. 

      Z along with the single inverted commas

    • D. 

      Both (1) and (2)


  • 7. 
    Which of the following is not a character constant ?
    • A. 

      'Thank You '

    • B. 

      ' quest videos- IT Learning at its best '

    • C. 

      ' 23.56e-03 '

    • D. 

      All of the above


  • 8. 
    The maximun value that an integer constant can have is ?
    • A. 

      -32767

    • B. 

      32767

    • C. 

      1.7014e+38

    • D. 

      -1.7014e+38


  • 9. 
    A C variable cannot start with ?
    • A. 

      An alphabet

    • B. 

      A number

    • C. 

      A special symbol other than underscore

    • D. 

      Both (2) and (3)


  • 10. 
    Which of the following statements is wrong ?
    • A. 

      INT=123;

    • B. 

      Val=' A ' * ' B ';

    • C. 

      Is=20 * ' T '

    • D. 

      Count+5=res;


Back to top

Removing ad is a premium feature

Upgrade and get a lot more done!
Take Another Quiz
We have sent an email with your new password.