ISRO CSE 2015 PYQ

Questions 76-80 of 80

0% completed (0/80 answered)
Your score 0/80 0 answered
Correct 0 Incorrect 0 Unanswered 80 Accuracy 0%

Question 76

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2015 PYQ

Consider the following statements

CODE
#define hypotenuse (a, b) sqrt (a*a+b*b);
The macro call hypotenuse(a+2,b+3);
Answers for question 76

Question 77

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2015 PYQ

In $X=(M+NxO)/(PxQ)$, how many one-address instructions are required to evaluate it?

Answers for question 77

Question 78

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2015 PYQ

The decimal number has 64 digits. The number of bits needed for its equivalent binary representation is?

Answers for question 78

Question 79

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2015 PYQ

Consider the following C declaration:

CODE
struct { 
    short x[5];  
    union { 
        float y; 
        long z; 
    } u;
 } t;
Assume that the objects of the type short, float and long occupy 2 bytes, 4 bytes and 8 bytes, respectively. The memory requirement for variable t, ignoring alignment consideration, is:
Answers for question 79

Question 80

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2015 PYQ

Consider the following code fragment

CODE
void foo(int x, int y)
{
    x+=y;
    y+=x;
}
main()
{
    int x=5.5;
    foo(x,x);
}
What is the final value of x in both call by value and call by reference, respectively?
Answers for question 80
Scroll to Top