Home / C Programming / Input / Output :: Discussion

Discussion :: Input / Output

  1. Can we specify a variable filed width in a scanf() format string?

  2. A.
    Yes
    B.
    No

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    In scanf() a * in a format string after a % sign is used for the suppression of assignment. That is, the current input field is scanned but not stored.


Be The First To Comment