First1Last
1 of 1 pages
  1. A
    start()

    B
    start()

    C
    main()

    D
    program()

    Explanation: Not available 

    1. Twitter
  2. A
    { }

    B
    -> and <-

    C
    BEGIN and END

    D
    ( and )

    Explanation: Not available 

    1. Twitter
  3. A
    */ Comments */

    B
    ** Comment *

    C
    /* Comment */

    D
    { Comment }

    Explanation: Not available 

    1. Twitter
  4. A
    DOS

    B
    Windows

    C
    Linux

    D
    All

    Explanation: Not available 

    1. Twitter
  5. A
    Internal and External

    B
    External, Internal and None

    C
    External and None

    D
    Internal

    Explanation: External Linkage-> means global, non-static variables and functions. Internal Linkage-> means static variables and functions with file scope. None Linkage-> means Local variables. 

    1. Twitter
  6. A
    Declaration

    B
    Definition

    C
    Function

    D
    Error

    Explanation: Declaring is the way a programmer tells the compiler to expect a particular type, be it a variable, class/struct/union type, a function type (prototype) or a particular object instance. (ie. extern int i) Declaration never reserves any space for the variable or instance in the program's memory; it simply a "hint" to the compiler that a use of the variable or instance is expected in the program. This hinting is technically called "forward reference". 

    1. Twitter
  7. A
    1

    B
    2

    C
    1 and 3

    D
    2

    Explanation: extern int x; - is an external variable declaration. double pow(double, double); - is a function prototype declaration. Therefore, 1 and 3 are declarations. 2 is definition. 

    1. Twitter