Computers

University

Image

C Programming - Basics 001

68
plays

10 questions

Show Answers
See Preview
  • 1. Multiple Choice
    20 seconds
    1 pt

    Can we declare function inside structure of C Programming?

    Yes

    No

    Depends on Compiler

    Yes but run time error

  • 2. Multiple Choice
    20 seconds
    1 pt

    What is storage class for variable A in below code?


    void main()

    {

    int A;

    A = 10;

    printf("%d", A);

    }

    extern

    register

    auto

    static

  • 3. Multiple Choice
    20 seconds
    1 pt

    What is output of below program?

    void main()

    {

    const int a = 10;

    printf("%d",++a);

    }

    11

    10

    Compilation Error

    0

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?