Input output in C Exercise I


Ques 1 Union


Which of the following is output function in C?
  a) scanf()
  b) gets
  c) Both (a) and (b)
  d) printf()


d is the correct option




Ques 2 Union


Which of the following is input function in C?
  a) scanf()
  b) gets
  c) Both (a) and (b)
  d) printf()


c is the correct option




Ques 3 Union


Which of the following is not a input-output function in C?
  a) scanf(),printf()
  b) gets(),puts()
  c) cin and cout
  d) All of these


c is the correct option




Ques 4 Union


Can we show scanf(),printf() function on output Console in C?
  a) True
  b) False
  c) N/A
  d) N/A


a is the correct option