First123Last
1 of 9 pages
  1. A
    int n=5, x; x=n++;

    B
    int n=5, x; x= ++n++;

    C
    int n=5, x; x= (n+1)++;

    D
    int n=5, x=6; x= (n+x)++;

    E
    None

    Explanation: Not available 

    1. Twitter
    2. Google+
  2. A
    For statement 1, the header file will be searched first in the local directory and then in the standard system directories such as "/usr/include"

    B
    For statement 1, the header file will be searched in the standard system directories such as "/usr/include"

    C
    For statement 2, the header file will be searched first in the local directory and then in the standard system directories such as "/usr/include"

    D
    For statement 2, the header file will be searched first in the local directory and then in the standard system directories such as "/usr/include"

    E
    None

    Explanation: Not available 

    1. Twitter
    2. Google+
  3. A
    It is a storage-class-specifier

    B
    It guarantees that the variable is kept in the CPU register for maximum speed

    C
    It requests that the variable be kept in the CPU register for maximum speed

    D
    It does not guarantee that the variable value is kept in CPU register for maximum speed

    E
    None

    Explanation: Not available 

    1. Twitter
    2. Google+
  4. A
    Static memory allocation

    B
    Dynamic memory allocation

    C
    Automatic memory allocation

    D
    Automatic memory allocation

    E
    Memory allocation on heap

    Explanation: Not available 

    1. Twitter
    2. Google+
  5. A
    char str[2][4]={ "abc", "def" };

    B
    char str[2][4]={ {"abc"}, {"def"} };

    C
    char str[2][4]={ {'a','b','c','\0'}, {'d','e','f','\0'} };

    D
    all

    E
    none

    Explanation: Not available 

    1. Twitter
    2. Google+
  6. A
    fputc()

    B
    fputs()

    C
    fprintf()

    D
    fseek()

    E
    ftell()

    Explanation: Not available 

    1. Twitter
    2. Google+
First123Last
1 of 9 pages