C Language - Data Types

You Are Here :: Home > C Language > Data Types - General Questions

 
31.

For what values of integer i is the following expression non-zero?

i > 5 && !(i > 17)

A. 5, 6, 7, ... , 16, 17 B. 6, 7, 8, ... , 16, 17
C. 5, 6, 7, ... , 15, 16 D. 6, 7, 8, ... , 15, 16




32.

.Bytes in auxiliary memory are grouped into __________.

A. bits B. files
C. directories D. programs




33.

What will be the output of the following statement ?

int a=10;
printf("%d &i",a,10);

A. error B. 10
C. 10 10 D. none of these




34.

What will be the output of the following statement ?

printf("%X%x%ci%x",11,10,'s',12);

A. error B. basc
C. Bas94c D. none of these




35.

What will be the output of the following statements ?

int a = 4, b = 7,c;
c = a = = b;
printf("%i",c);

A. 0 B. error
C. 1 D. garbage value




36.

What will be the output of the following statements ?

long int a = scanf("%ld%ld",&a,&a);
printf("%ld",a);

A. error B. garbage value
C. 0 D. 2.00




« previous

1

2

3

4

5

6

7

8

next »

 
 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on