Recents in Beach

C Programming MCQ For WBJECA ( SET - 6)

WBJECA MCQ FOR NEW SYLLABUS

C Programming MCQ ( SET - 6)

C programming MCQ
  1. Which one of the following is not valid identifier ?

    1. _hello
    2. hi_
    3. 10_hello
    4. hello_10d
    Answer: C
    Explantion: None


  2. Which one of the following is valid identifier ?

    1. Num_1
    2. Num1
    3. _Num_1
    4. All of above
    Answer: D
    Explantion:


  3. C language developed at _________ ?

    1. Sun micro System
    2. Bell lab
    3. HECM lab
    4. AT & Bell lab
    Answer: D
    Explantion: None.


  4. What is the insex number of the last element of an array in 7 elements ?

    1. 14
    2. 0
    3. 12
    4. 6
    Answer: D
    Explantion: None


  5. Which type of loop are while and for ?

    1. Exit control
    2. Entry Control
    3. both of A & B
    4. none of above
    Answer: A
    Explantion: None


  6. Which type of loop are do.... While loop ?

    1. Exit control
    2. Entry Control
    3. both of A & B
    4. none of above
    Answer: A
    Explantion:


  7. Which of the following is more memory efficient ?

    1. Union
    2. Structure
    3. depends on sysem
    4. depends on compiler
    Answer: A
    Explantion: None


  8. if float a=5/2 ; will return a value ?

    1. 2
    2. 2.5
    3. 2.50000
    4. 2.500000
    Answer: D
    Explantion: None


  9. Can we print normal variable inside static function ?

    1. No
    2. Yes
    3. depend on compiler
    4. Yes but depend on compiler
    Answer: A
    Explantion: None


  10. 10

    Which pre- defined function is used for comparing two strings ?

    1. strcat()
    2. strrev()
    3. strev()
    4. strcmp()
    Answer: D
    Explantion: None



Post a Comment

0 Comments