C Multiple Choice Printf Online Exam Quiz
C Multiple Choice Printf GK Quiz. Question and Answers related to C Multiple Choice Printf. MCQ (Multiple Choice Questions with answers about C Multiple Choice Printf
If by mistake you specify more number of arguments, the excess arguments will ____________
Options
A : be ignored
B : produce compile error
C : produce run-time error
D : produce logical error
What will the given code result in printf(“ you are”awesome "" ");?
Options
A : compile error
B : run-time error
C : you are "awesome"
D : you are awesome
What happens when zero flag is used with left justification?
Options
A : data is padded with zeros
B : zero flag is ignored
C : data is padded with blank spaces
D : will give error
For floating point numbers, the precision flag specifies the number of decimal places to be printed. When no precision modifier is specified, printf() prints _______
Options
A : six decimal positions
B : five decimal positions
C : four decimal positions
D : three decimal positions
What will be the output for the given code printf(“ The number is %07d”,1212);
Options
A : The number is 0001212
B : The number is 1212
C : The number is 1212
D : The number is 1212000
Chemical Engineering Basics - Part 1 more Online Exam Quiz
C Multiple Choice File Operations
C Multiple Choice General Utilities
C Multiple Choice Implementation Defined Limits
C Multiple Choice Mathematical Functions
C Multiple Choice Non Local Jumps