Exam 2: Managing Io Operations

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

What will the given code result in printf("\n you are\"awesome \" ");?

Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
Verified

C

In a variable length argument function, the declaration "…" can _______

Free
(Multiple Choice)
4.7/5
(31)
Correct Answer:
Verified

B

What does the following command line signify? prog1 prog2

Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
Verified

C

Explain the format string "%5d%s %c"

(Multiple Choice)
4.8/5
(36)

Which of the following is NOT a delimiter for an input in scanf?

(Multiple Choice)
4.8/5
(37)

For a typical program, the input is taken using _________

(Multiple Choice)
4.9/5
(35)

________is used to define the type and the interpretation of the value of the corresponding argument.

(Multiple Choice)
4.8/5
(36)

What does the C statement given below says? scanf("%7s",ch);

(Multiple Choice)
4.7/5
(38)

Select the correct value of i from given options i=scanf("%d %d", &a, &b);

(Multiple Choice)
4.8/5
(45)

For floating point numbers, the precision flag specifies the number of decimal places to be printed. When no precision modifier is specified, printf() prints _______

(Multiple Choice)
4.9/5
(46)

What is the return value of putchar()?

(Multiple Choice)
4.8/5
(41)

Which among the following is the odd one out?

(Multiple Choice)
4.9/5
(27)

If by mistake you specify more number of arguments, the excess arguments will ____________

(Multiple Choice)
4.8/5
(33)

scanf() is a predefined function in______header file.

(Multiple Choice)
4.8/5
(37)

Output justification such as decimal point, numerical sign, trailing zeros or octal are specified.

(Multiple Choice)
4.8/5
(36)

What is the prototype of scanf function?

(Multiple Choice)
5.0/5
(35)

Escape sequences are prefixed with ________

(Multiple Choice)
4.8/5
(44)

The type va_list in an argument list is used ________

(Multiple Choice)
4.8/5
(42)

What action is carried out by scanf if a user enters any blank spaces, tabs, and newlines?

(Multiple Choice)
4.9/5
(35)

If the conversion characters of int d, i, o, u and x are preceded by h, it indicates?

(Multiple Choice)
4.8/5
(35)
Showing 1 - 20 of 58
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)