answersLogoWhite

0


Best Answer

Usually by using the scanf function

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you give input at run time in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

To display an input string vertically by c?

// get input char input[256]; gets(input); // print one character on each line int i; for(i = 0; input[i] != '\0'; ++i) { printf("%c\n", input[i]); }


Determine the highest of the three input numbers using flowchart?

(start) /a=0 c=0\ \b=0 / /input a/ /input b/ /input c/ /a>b\ no /b>c\ yes /display b/ -> (a) \ / \ / yes no /a>c\ no /display c/ -> (a) \ / yes /display a/ <- (a) (end)


What is the header for basic input or output in C Plus Plus?

For basic input and output in C++: #include


Why do you use scanf in c?

To read input from standard input.


How do you program slopes on a TI-84 Calculator?

:Input "X1",A :Input "X2",B :Input "Y1",C :Input "Y2",D :(D-C)/(B-A)->E :Disp "SLOPE:",E


How do you draw a flowchart to get the sum of two numbers?

Start Input A Input B C=A+B Print C END


At what time the memory is allocated for variable in c and c?

Static memory allocation occurs at compile time where as dynamic memory allocation occurs at run time.


Input output function in c plus plus?

input is the << operator and output is the >> operator


What is input variability?

an input variable is an input variable


Why doesn't c language have inbuilt garbage collector like Java?

Because C was meant to give full control to the programmer, the compiler and the run-time-system doesn't do anything automagically, it does exactly what to programmer tells it, no more, no less.


How do you alternate the input numbers using for loop in c plus plus?

Input a variable.


Where do you do C programming in Windows XP on a computer?

You would first need to obtain a C compiler. If you know C, you could compose it in Notepad and give it the .c extension (or C++ and give it the .cpp extension) if you wanted to. However, you would need a compiler if you wanted to compile the program and run it.