1. Question: What is the correct value to return to the operating system upon the successful completion of a program? 

    A
    -1

    B
    1

    C
    0

    D
    Programs do not return a value.


    1. Twitter
    2. Details
  2. Question: What is the only function all C programs must contain? 

    A
    start()

    B
    start()

    C
    main()

    D
    program()


    1. Twitter
    2. Details
  3. Question: What punctuation is used to signal the beginning and end of code blocks? 

    A
    { }

    B
    -> and <-

    C
    BEGIN and END

    D
    ( and )


    1. Twitter
    2. Details
  4. Question: What punctuation ends most lines of C code? 

    A
    .

    B
    ;

    C
    :

    D
    '


    1. Twitter
    2. Details
  5. Question: Which of the following is a correct comment? 

    A
    */ Comments */

    B
    ** Comment *

    C
    /* Comment */

    D
    { Comment }


    1. Twitter
    2. Details
  6. Question: Which of the following is not a correct variable type? 

    A
    float

    B
    real

    C
    int

    D
    double


    1. Twitter
    2. Details
  7. Question: Which of the following is the correct operator to compare two variables? 

    A
    :=

    B
    =

    C
    equal

    D
    ==


    1. Twitter
    2. Details
  8. Question: Which type of language is C? 

    A
    Object Oriented Language.

    B
    Procedure Oriented Language

    C
    Scripting Language

    D
    None


    1. Twitter
    2. Details
  9. Question: Which data type will you use to store numeric value which is always positive? 

    A
    unsigned int

    B
    signed int

    C
    int

    D
    positive int


    1. Twitter
    2. Details
  10. Question: C can run on which of the following environments? 

    A
    DOS

    B
    Windows

    C
    Linux

    D
    All


    1. Twitter
    2. Details