adplus-dvertising
frame-decoration

Question

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

Posted under C Programming

Answer: (d).All of the above

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is true of external variables?

Similar Questions

Discover Related MCQs

Q. Choose the correct statements

Q. The declaration 

  int x : 4;

means

Q. As soon as a pointer variable is freed, its value

Q. Choose the correct statements

Q. Choose the correct statements

Q. If a variable can take only integral values from 0 to n. where n is a constant integer, then the variable can be represented as a bit-field whose width is the integral part of (the log in the answers arc to the base 2)

Q. In a C program constant is defined

Q. The rule for implicit type conversion is

Q. What is the correct way to round offx, a float, to an int value?

Q. By default, any real number in 'C' is treated as

Q. To print out a and b given below, which printf() statement would you use?

float a = 3.14;
double b = 3.14;

Q. When a variable of data type double is converted into float, then

Q. The library function sqrt operates on a double precision argument. If, i is an integer variable, then which of the following calls would correctly compute sqrt(i)?

Q. The statement 

  printf( " % f ", ( float )9/5) ;

prints

Q. The declaration

enum cities{ bethlehem, jericho, nazareth = 1, jerusalem }

assigns the value 1 to

Q. Integer division in a 'C' program results in:

Q. In a 'C'expression involving || operator, evaluation

Q. In C programming language, which of the following operators has the highest precedence?

Q. If i j,k are integer variable with values 1,2,3 respectively, then what is the value of the expression

!((j + k) > (i + 5))

Q. The expression a << 6 shifts all bits of a six places to the left. If a Ox6db7, then what is the value of a << 6