C Programming MCQ - Constant Variables & Data Types

41:  

Which of the following comments about wide characters is/are true ?

A.

it is binary representation of a character in the extended binary set

B.

it is of integer type wchar_t

C.

end of file is represented by WEOF

D.

All of the above

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



42:  

 Which of the following is true of external variables?

A.

they provide a way for two way communication between functions

B.

their scope extends from the point of definition through the remainder of the program

C.

if they are not initialized, they will be initilised to zero

D.

All of the above 

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Fouzia Sher Akbar said: (5:10pm on Friday 29th March 2013)
I have read somewhere that if external variables are are initialized, they will have 0 value.

Write your comments here:



43:  

Choose the correct statements

A.

address is the numeric value associated with a memory location

B.

two variables can have the same address

C.

value of a variable can be an address

D.

All of the above

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



44:  

The declaration 

  int x : 4;

means

A.

x is a four digit integer

B.

x cannot be greater than a four digit integer

C.

x is a four-bit integer 

D.

none of above

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here:



45:  

 As soon as a pointer variable is freed, its value 

A.

is set to null

B.

becomes unpredictable

C.

is set to 1

D.

remains the same

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here: