What is the purpose of scanf() and printf() functions?



What is the purpose of scanf() and printf() functions?..

Answer / Yogesh Kumar Jaiswal

The printf() function is used to display output, while the scanf() function is used to read input from the keyboard. Both functions are part of C's standard I/O library.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Define the scope of static variables.

1 Answers  


Is c programming hard?

1 Answers  


What is void c?

1 Answers  


Write a program to print distinct words in an input along with their count in input in decreasing order of their count

0 Answers  


What is the difference between ‘g’ and “g” in C?

2 Answers  


Write a c program to build a heap method using Pointer to function and pointer to structure ?

1 Answers   Wipro,


Can we change the value of static variable in c?

1 Answers  


Explain what are bus errors, memory faults, and core dumps?

1 Answers  


a=5 a=a++/++a

14 Answers   Bhel,


How to throw some light on the b tree?

1 Answers  


can u suggest me am in a confusion to choose whether to go to c programming or a software testing . am a graduate in B.sc(electronics).

1 Answers  


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1 Answers  


Categories