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.

    Note: Not available
    1. Report
  2. Question: What is the only function all C programs must contain?

    A
    start()

    B
    start()

    C
    main()

    D
    program()

    Note: Not available
    1. Report
  3. Question: What punctuation is used to signal the beginning and end of code blocks?

    A
    { }

    B
    -> and <-

    C
    BEGIN and END

    D
    ( and )

    Note: Not available
    1. Report
  4. Question: What punctuation ends most lines of C code?

    A
    .

    B
    ;

    C
    :

    D
    '

    Note: Not available
    1. Report
  5. Question: Which of the following is a correct comment?

    A
    */ Comments */

    B
    ** Comment *

    C
    /* Comment */

    D
    { Comment }

    Note: Not available
    1. Report
  6. Question: Which of the following is not a correct variable type?

    A
    float

    B
    real

    C
    int

    D
    double

    Note: Not available
    1. Report
  7. Question: Which of the following is the correct operator to compare two variables?

    A
    :=

    B
    =

    C
    equal

    D
    ==

    Note: Not available
    1. Report
  8. Question: Which type of language is C?

    A
    Object Oriented Language.

    B
    Procedure Oriented Language

    C
    Scripting Language

    D
    None

    Note: Not available
    1. Report
  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

    Note: Not available
    1. Report
  10. Question: C can run on which of the following environments?

    A
    DOS

    B
    Windows

    C
    Linux

    D
    All

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd