Object Oriented Programming - Object Modelling - 2

191:  
In C programming language, which of the following operators has the highest precedence?
A.

Unary +

B.

*

C.

>=

D.

==

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



192:  

In C programming language, if the first and the second operands of operator + are of types int and float, respectively, the result will be of type

A.

int

B.

float

C.

char

D.

long int

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here:



193:  
What will be the value of x and y after execution of the following statement (C language)
n = = 5;
x = n++;
y = -X ; ? 
A.

5,4

B.

6,5

C.

6,6

D.

5,5

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



194:  
What is the maximum number of dimensions an array in C may have?
A.

Two

B.

Eight

C.

Sixteen

D.
Theoratically no limit. The only practical limits are memory size and compilers.
 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



195:  
C programming language provides operations which deal directly with objects such as
A.

strings and sets

B.

lists and arrays

C.
characters, integers, and floating point numbers
D.

all of these

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here: