ISRO Scientist/Engineer Question Paper Computer Science 2017
41. Question
What is the output of this C++ program?
#include <iostream>
using namespace std;
void square (int *x)
{
*x = (*x)++ * (*x);
}
void square (int *x, int *y)
{
*x = (*x) * –(*y);
}
int main ( )
{
int number = 30;
square(&number, &number);
cout << number;
return 0;
}
Answer
42. Question
Which of the following operator(s) cannot be overloaded?
Answer
43. Question
Which of the following UML 2.0 diagrams capture behavioural aspects of a system?
Answer
44. Question
Which of the following is associated with objects?
Answer
45. Question
Which one of these is characteristic of RAID 5?
Answer