Recents in Beach

C Programming MCQ For WBJECA ( SET - 1)

WBJECA MCQ FOR NEW SYLLABUS

C Programming MCQ ( SET - 1)

C programming MCQ
  1. Who is the father of C Programming Language ?

    1. Dennis Richards
    2. Ken Thompson
    3. Dennis Ritchie
    4. Ken Thompson & Dennis Ritchie
    Answer: C
    Explantion: Dennis Ritchie at the Bell Laboratories in 1972


  2. Which keyword is used to prevent any changes in the variable within a C program ?

    1. volatile
    2. continue
    3. break
    4. const
    Answer: D
    Explantion: const is a keyword constant in C programming . We know constant have fixed value


  3. Which of the following typecasting is accepted by C language ?

    1. Narrowing Conversions
    2. Widening Conversions
    3. Widening & Narrowing Conversions
    4. None of the mentioned
    Answer: C
    Explantion: None.


  4. What is an example of iteration in C Programming Language ?

    1. do-while
    2. for
    3. while
    4. All of the above
    Answer: D
    Explantion: None


  5. Which of the following cannot be a variable name in C Programming Language ?

    1. enter
    2. extern
    3. false
    4. None of thise
    Answer: B
    Explantion: extern is a keyword of C programming


  6. Property which allows to produce different executable for different platforms in C is called ?

    1. conditional compilation
    2. recursive macros
    3. selective inclusion
    4. file inclusion
    Answer: A
    Explantion: Conditional compilation is the preprocessor facility to produce a different executable.


  7. How many number of pointer (*) does C language have against a pointer variable declaration ?

    1. 3
    2. 2
    3. 8
    4. No limits
    Answer: D
    Explantion: None


  8. Which of the following return-type cannot be used for a function in C Programming Language ?

    1. char *
    2. void
    3. struct
    4. none of the mentioned
    Answer: D
    Explantion: None


  9. What is the sizeof(char ) in a 32- bit C compiler ?

    1. 2 Bytes
    2. 1 Bytes
    3. 1 bits
    4. 4 Bytes
    Answer: B
    Explantion: None


  10. 10

    Functioins can return enumeration constants in C programming language ?

    1. false
    2. true
    3. depends on the standard
    4. depends on the compiler
    Answer: B
    Explantion: None



  11. Give the test on thise set-1


Post a Comment

0 Comments