Jobs in India
Search Jobs
Search Jobs
Advertisements

DURGAPUR ,8 January 2011 by Samsung

Details of DURGAPUR ,8 January 2011 by Samsung conducted by Samsung for job interview.
Advertisements
ample of the technical questions asked




1. If integer needs two bytes of storage, then maximum value of an unsigned integer is

a. 2^16-1

b. 2^15-1

c. 2^16

d. 2^15

2. If integer needs two bytes of storage, then maximum value of a signed integer is

a. 2^16-1

b. 2^15-1

c. 2^16

d. 2^15

3. What is the output of

printf (%d, printf(tim) );



a. results in a syntax error

b. outputs tim3

c. outputs garbage

d. prints tim and terminates abruptly



4. Length of string correct is

a.7

b.8

c.6

d. implementation dependant



5. Consider the following program fragment

char c= a;

while(c++