C Multiple Choice Scanf Online Exam Quiz

C Multiple Choice Scanf GK Quiz. Question and Answers related to C Multiple Choice Scanf. MCQ (Multiple Choice Questions with answers about C Multiple Choice Scanf

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

Options

A : 1

B : 2

C : 3

D : No value assigned

View Answer

What error will be generated on using incorrect specifier for the datatype being read?

Options

A : compile error

B : run-time error

C : logical error

D : no error

View Answer

What is the qualifying input for the type specifier G?

Options

A : floating point numbers

B : floating point numbers in exponential format

C : floating point numbers in the shorter of exponential format

D : not a type specifier

View Answer

What is the prototype of scanf function?

Options

A : scanf("controlstring",arg1,arg2,arg3,….,argn);

B : scanf("control string", variable list);

C : scanf(" varible list,", control string);

D : scanf("arg1,arg2,arg3,….,argn", control string);

View Answer

scanf() is a predefined function in______header file.

Options

A : stdlib. h

B : ctype. h

C : stdio. h

D : stdarg. h

View Answer

Control string specifies the type and format of the data that has to be obtained from the keyboard.

Options

A : true

B : false

C :

D :

View Answer

Chemical Engineering Basics - Part 1 more Online Exam Quiz

C Multiple Choice General Utilities

C Multiple Choice Implementation Defined Limits

C Multiple Choice Mathematical Functions

C Multiple Choice Non Local Jumps

C Multiple Choice Printf

C Multiple Choice Stringizers

C Multiple Choice String Operations

C Printf

C Recursion

C Scanf