Computers

Professional Development

Image

C Programming

2K
plays

10 questions

Show Answers
See Preview
  • 1. Multiple Choice
    3 minutes
    1 pt

    What is the 16-bit compiler allowable range for integer constants?

    -3.4e38 to 3.4e38

    -32767 to 32768

    -32668 to 32667

    -32768 to 32767

  • 2. Multiple Choice
    3 minutes
    1 pt

    What will happen when the following code is executed?

    void main()

    {

    printf("MIET");

    main();

    }

    Wrong statement

    It will keep on printing MIET

    It will print MIET once

    None of these

  • 3. Multiple Choice
    3 minutes
    1 pt

    What is the result after execution of the following code if a is 10, b is 5, and c is 10?

    if ((a > b) && (a <= c))

    a = a + 1;

    else

    c = c+1;

    a = 10, c = 10

    a = 11, c = 10

    a = 10, c = 11

    a = 11, c = 11

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?