Programming Language Functions and Input
Which function is used to get values into variables from the keyboard during the execution of a program?
پروگرام کے عمل کے دوران کی بورڈ سے متغیرات میں ویلیو حاصل کرنے کے لیے کون سا فنکشن استعمال ہوتا ہے؟
Answer: Scanf()
Explanation
The function used to get values into variables from the keyboard is scanf().
It reads input from the standard input (usually the keyboard) and stores it in the specified variables.
This question appeared in
Past Papers (1 times)
FGEI Past Papers, Syllabus (1 times)
This question appeared in
Subjects (1 times)
COMPUTER (1 times)
Related MCQs
- Suppose z is an integer while z and y are long variables. If you write z = z + y; in your C program, which of the following will happen?
- If a function has differential coefficient that vanishes for all values of x in the interval A<=x <=b, the function is?
- A quantity whose value may change during execution of the program is called a _____?
- A software-generated interrupt caused by an error during program execution is called?
- The function of Alt + Tab on the keyboard is?
- The designers of the Multics system were the first to use the term ________ to describe a program in execution in the context of operating systems.
- How many function keys are there in the keyboard?
- Which of the following functions represent as implicit function, where f(x) and 'Y' are dependent variables and x denotes independent variable?
- ____________ function is the point by where all C ++ programs start their execution.
- The getche() function reads a character from the keyboard and ____ it on the screen.