Recents in Beach

C Programming MCQ For WBJECA ( SET - 4)

 

WBJECA MCQ FOR NEW SYLLABUS

C Programming MCQ ( SET - 4)

C programming MCQ
  1. Which of the following user-defined datatype share it's memory each other ?

    1. class
    2. array
    3. unio
    4. structure
    Answer: C
    Explantion: None


  2. Which standard liberary file printf & scanf are located ?

    1. stdio.h
    2. math.h
    3. conio.h
    4. string.h
    Answer: A
    Explantion: standard input out-put function header file


  3. How many way to calling of function in C programming language ?

    1. one
    2. four
    3. three
    4. two
    Answer: D
    Explantion: None.


  4. Which of the following is the correct multipul line comment ?

    1. //comment
    2. */ comment */
    3. /* comment */
    4. Both A and C
    Answer: C
    Explantion: None


  5. The parameters specified int the function call are called __________________ ?

    1. Formal
    2. Value
    3. Actual
    4. all
    Answer: C
    Explantion: None


  6. Logical expressions produce ______ type results ?

    1. Bool
    2. Explicit
    3. Static
    4. staic
    Answer: A
    Explantion:


  7. By default how the values are passed to the function ?

    1. call by reference
    2. call by address
    3. call by pointer
    4. call by value
    Answer: D
    Explantion: None


  8. C language was primarily developed as ________ ?

    1. General purpose
    2. Data processing
    3. System programming
    4. None of above
    Answer: C
    Explantion: for UNIX os


  9. Which is the only function all C programs must contain ?

    1. start()
    2. main()
    3. getch()
    4. system()
    Answer: B
    Explantion: None


  10. 10

    Which loop execute at_least once even condition is false ?

    1. do while
    2. for
    3. while
    4. while do
    Answer: A
    Explantion: None


Post a Comment

0 Comments