Searching for "5%"

Q:

What would be the output of the following program, if the array beigns at address 65486?

main()

{

    int arr[] = {12,14,15,23,45};

    printf ("%u %u", arr, &arr);

}

Answer

65486  65486

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

Q:

What would be the output of the following program assuming that the array beigns at location 1002?

main()

{

   int a[3][4] = {

                            1 , 2 , 3 , 4

                            5,  6 , 7, 8

                            9, 10 , 11, 12

                       };

    Printf ("\n%u %u %u", a[0] + 1, *( a[0] + 1), *( *(a + 0) + 1) );

}

Answer

1004  2  2

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

Q:

If the binary equivalent of 5.375 in normalised form is 0100 0000 1010 1100 0000 0000 0000 0000, what would be the output of the following program?

main()

{

    float a = 5.375 ;

    char *p;

    int i;

    p = ( char* ) &a ;

    for ( i = 0; i <= 3 ; i++ )

          printf ( " %02x ", (unsigned char ) p[i] );

}

Answer

00 00 AC 40

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

Q:

What mathematical symbol can be placed between 5 and 9, to get a number greater than 5 and smaller than 9?

Answer

decimal point [i.e, 5.9]

Report Error

View answer Workspace Report Error Discuss

Subject: Number Puzzles

Q:

Can you arrange 9 numerals - 1, 2, 3, 4, 5, 6, 7, 8 and 9 [using each numeral just once] above and below a division line, to create a fraction equaling to 1/3 [one third]?

Report Error

View answer Workspace Report Error Discuss

Subject: Number Puzzles

Q:

What was the unique about the way in which these three Indian states slipped into British hands - Satara in 1848, Jhansi in 1853 and Nagpur in 1854?

Answer

Because of the Doctrine of Lapse; if Hindu rulers did not have direct natural heirs, the British would impose their rule.

Report Error

View answer Workspace Report Error Discuss

Subject: World History

Q:

Which territory in America did Napoleon sell to Thomas Jefferson for $ 1.5 m?

Answer

Louisiana

Report Error

View answer Workspace Report Error Discuss

Subject: World History

Q:

Arun and Amit started walking from two different points 'A' and 'B' respectively.Arun walks 2 kms North and turns to the East and walks 3 kms and again turns to North walks 4 kms and finally turns to East and Walks 5kms to reach point 'C'. Similarly, Amit walks 2 kms North and turns to west and walks 3 kms and finally turns to North, walks 4 kms and meets Arun at point 'C'. What is the distance between Arun and Amit's starting points?

 

A) 5 km B) 8 km
C) 11 km D) 13 km
 
Answer & Explanation Answer: C) 11 km

Explanation:

Where A= Arun's starting point; B = Amit's starting point; C = The point where Arun and Amit meet

PQ + RC + ST = 3 + 5 + 3 = 11 kms.

Report Error

View Answer Report Error Discuss

Filed Under: Direction Sense Test