| Home : Interview Center : Covansys |
| Click "Subscribe" if you want to be notified of new or updated links in this category. | Subscribe |
|
|
Covansys Listings
|
|
Total:
2 | Displaying: 1 - 2 |
|
|
|
Covansys - Technical Questions
Question : How will you retrieve the value stored in pointer variable a?
A. a
B. &a
C. *a
Answer : A
Question : How to pass two arguments to a function prompted to by function pointer
A. g -> (1,2)
B. *g(1,2)
C. (*g)(1,2)
D. g(1,2)
Answer : C
Question : Encapsulation
A. Aggregation of member objects
B. Aggregation of member functions
C. Used to incorporate data hiding
Answer : C
Question : Float_ptr = new float[100]
In order to deallocate this memory use
A. delete float_ptr
B. delete [] float_ptr
C. delete float_ptr [100]
D. delete float_ptr []
Answer : B
Question : i = 12
int *p = &I;
print ("%d %d", p/p,*p**p)
What is the output?
A. 1144
B. 144144
C. O/p Error
D. Junk
Answer : C
Updated: 07/18/2005
|
|
|
Covansys - Aptitude Questions
Question : All the children were arranged in rows. All the rows containing equal number of students.
If 4 students were removed from each row 10 more rows had to be added. If 5 students
were added in each row number of rows were reduced by 8. Find the number of children.
A. 400
B. 500
C. 700
D. 800
Answer : D
Question : 2/3 of people read newspaper A , 3/4 read newspaper B. If 38 read both and 8 didn't
read any of the 2.how many read A?
Answer : 48
Question : A plane goes from Chicago to Columbus and then comes back. It takes the same time
to travel in either ways. It leaves Chicago early in the morning 0644 LOCAL TIME
and reaches the destination Columbus at 0849 LOCAL TIME. In the same evening it
leave Columbus at 1625 hrs LOCAL TIME and reaches the destination at 1638
LOCAL TIME. Find the time that the plane takes to travel either way?
Answer : 69 minutes
Question : There is a 14-digit credit card number in which every 3 consecutive digits add to 20.
Here is a part of it. Find the value of 'x'?
_ _ _ 9 _ _ _ x _ _ _ 7 _ _
Answer : 4
Updated: 07/18/2005
|
|