About 50 results
Open links in new tab
  1. c - Getting multiple values with scanf () - Stack Overflow

    Getting multiple values with scanf () Asked 16 years, 4 months ago Modified 4 years, 7 months ago Viewed 335k times

  2. Scanning Multiple inputs from one line using scanf

    Jun 12, 2018 · Scanning Multiple inputs from one line using scanf Asked 14 years, 9 months ago Modified 7 years, 6 months ago Viewed 141k times

  3. How to get multiple or 1 input in the same line using scanf

    Sep 19, 2022 · This shows a crude method to do it by asking scanf to scan for spaces and tabs between the two inputs. If the user enters only one input and presses Enter / Return, there will be a newline …

  4. How to scanf multiple inputs separeted by space in C?

    How to scanf multiple inputs separated by space in C? The "%d" and "%f" will happily handle numeric text separated by spaces, tabs, end-of-lines, etc., yet not distinguish between spaces and end-of-line.

  5. multiple word string input through scanf ( ) - Stack Overflow

    Aug 24, 2010 · what was the syntax to input strings with more than one word i.e with space in between through scanf() not gets()

  6. scanf and loops with multiple inputs - c - Stack Overflow

    Sep 28, 2016 · How can I make my program accept multiple inputs ( using scanf & loops) & print the results respectively after calculations? My program accepts six inputs but only displays one …

  7. Multiple inputs in a single line using scanf ()? - Stack Overflow

    Sep 25, 2015 · 0 I used scanf() function and realized that I could input only one number into an array using it. Is there any way to read the whole number in a single line? ex:

  8. c - scanf taking multiple char inputs - Stack Overflow

    Jun 10, 2019 · With scanf when it sees a space in the format string, it will read (and discard/ignore) any number of white-space characters. And for that to work, the scanf function needs to find the end of …

  9. c - Scanf for multiple user inputs - Stack Overflow

    The idea is simple, read two inputs from stdin using scanf, the first being a single int, followed by some array of strings. Scanf works independently in both cases e.g. scanf ("%d", numberOf) will store a …

  10. C Programming ScanF multiple input one file - Stack Overflow

    Feb 2, 2012 · Trying to figure out how to read in multiple variables through a file. for example i know how to read in one, if i have a file called "datainput" which has the line of text "150" and then in my pro...