Which function is used to get values into variables from the keyboard during the execution of a program?

Which function is used to get values into variables from the keyboard during the execution of a program?

پروگرام کے عمل کے دوران کی بورڈ سے متغیرات میں ویلیو حاصل کرنے کے لیے کون سا فنکشن استعمال ہوتا ہے؟
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.