Revision as of 19:49, 13 May 2024 by Admin (Created page with "# <code>pi2 = pi;</code> # The reverse, <code>pi = pi2;</code> is a valid C statement if <code>pi</code> is not a constant and <code>pi2</code> is initialized. # '''a'''. <code>pi2 = 3.1415;</code><br>'''b'''. The reverse: <code>3.1415 = pi2;</code> is not valid since it is impossible to assign a value to a literal.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Exercise


ABy Admin
May 13'24

Answer

  1. pi2 = pi;
  2. The reverse, pi = pi2; is a valid C statement if pi is not a constant and pi2 is initialized.
  3. a. pi2 = 3.1415;
    b. The reverse: 3.1415 = pi2; is not valid since it is impossible to assign a value to a literal.
00