1. Question: Which of the following is not a correct variable type? 

    A
    float

    B
    real

    C
    int

    D
    double


    1. Twitter
    2. Details
  2. Question: Which type of language is C? 

    A
    Object Oriented Language.

    B
    Procedure Oriented Language

    C
    Scripting Language

    D
    None


    1. Twitter
    2. Details
  3. 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


    1. Twitter
    2. Details
  4. Question: Which of the following special symbol allowed in a variable name? 

    A
    * (asterisk)

    B
    | (pipeline)

    C
    - (hyphen)

    D
    _ (underscore)


    1. Twitter
    2. Details
  5. Question: By default a real number is treated as a 

    A
    float

    B
    double

    C
    long double

    D
    far double


    1. Twitter
    2. Details
  6. Question: Which of the following correctly represents a long double constant? 

    A
    6.68

    B
    6.68L

    C
    6.68f

    D
    6.68LF


    1. Twitter
    2. Details
  7. Question: Which of the declaration is correct? 

    A
    int length;

    B
    char int;

    C
    int long;

    D
    float double;


    1. Twitter
    2. Details
  8. Question: Which of the following operations are INCORRECT? 

    A
    int i = 35; i = i%5;

    B
    short int j = 255; j = j;

    C
    long int k = 365L; k = k;

    D
    float a = 3.14; a = a%3;


    1. Twitter
    2. Details
  9. Question: Which of the structure is incorrect?
    1 : struct aa
         {
           int a;
           float b;
         };
    
    2 : struct aa
        {
           int a;
           float b;
           struct aa var;
        };
    
    3 : struct aa
        {
           int a;
           float b;
           struct aa *var;
        }
    
     

    A
    1

    B
    2

    C
    3

    D
    1,2,3


    1. Twitter
    2. Details