Basic Data Structures – 6

Basic Data Structures » Exercise – 1

6. If the variables i, j and k are assigned the values 5,3 and 2 respectively, then the expression

i = j + ( k + + = 6 ) + 7

(a) gives an error message
(b) assigns a value 16 to i (c) (d) assigns a value 19 to i 

Answer
Answer : (a)

Explanation
Explanation : No answer description available for this question. Let us discuss.
General Knowledge Books

Related Posts

  • Basic Data Structures – 8Basic Data Structures » Exercise - 18. If an integer needs two bytes of storage, then the maximum value of a signed integer is : (a) 216-1 (b) 215-1 (c) 216 (d) 215
    Tags: basic, data, structures, exercise, computer, science
  • Basic Data Structures – 7Basic Data Structures » Exercise - 17. Literal means : (a) a string (b) a string constant (c) a character (d) an alphabet
    Tags: basic, data, structures, exercise, computer, science
  • Basic Data Structures – 4Basic Data Structures » Exercise - 14. The first digit of a decimal constant must be : (a) a zero (b) a non zero number (c) a negative number (d) an integer
    Tags: basic, data, structures, exercise, computer, science
  • Basic Data Structures – 5Basic Data Structures » Exercise - 15. What is the output of the following statement : printf (“%-3d”,12345); (A) 1 2 3 (B) -1 2 3 (C) 1 2 3 4 5 (D) 12  
    Tags: basic, data, structures, exercise, computer, science
  • X.25 Protocol – 11X.25 Protocol » Exercise - 111. X.25 is a : (a) Protocol (b) Technology (c) Data service (d) Telephone service
    Tags: exercise, data, computer, science

LEAVE A REPLY

Please enter your comment!
Please enter your name here