|
a) 13, b) hello world 13, c) hello world, d) error
ANS:b
30. what is the output of the following code, assuming that the array
begins at location 5364875?
#include<stdio.h>
void main()
{
int a[2][3][4]={
{2,1,4,3,6,5,8,7,0,9,2,2}
{1,2,3,4,5,6,7,8,9,0,1,2}
};
printf("%u %u %u %u",a,*a,**a,***a);
}
a) 5364875,5364876,5364877,5364878
b) 5364875,5364876,5364877,2
c) 5364875,5364875,5364876,5364876
d) 5364875,5364875,5364875,2
ANS:d
31. are null statements in c null pointers.
32. is cinst int *p same as int const* p
find similar words
beaker:chalice
formulas:constituents
time and work problem.
IT solutions ---- caritor India ltd.
APTITUDE QUESTIONS:
1.a cube object 3" * 3" * 3" is painted with green in all the outer surfaces. If the
cube is cut into cubes of 1"*1"*1", how many 1" cubes will have at least one
surface painted.
a. 8 b.26 c.27 d. none ans.b
2. single table tennis tournament is held at IT solutions in which 32 players
participated. If a single player is eliminated as soon as the player loses a match.
How many matches are required to determine the winner. A. 32 b. 16 c. 31 d. 15
ans.c
3. there are 200 employees in a company. An external vender is chosen to serve
coffee twice a day. 100 coffee cups were offered by the company , but as an
incentive to have the cups in fact at the end of the day, the company offered 30
paise for every cup remained safely and charged 90 paise for every broken cup.
At the end of the day , the vender received RS.24 . how many cups did the
vender break.
a. 20 b.5 c.10 d.14 ans.c
|
|