C MCQ SET


C Multiple Choice Question Material
[1] What is called the conversion of one language to another language ?
(A) => Transmitter
(B) => Translation
(C) => Transcription
Answer =>> Translation

[2] printf() is known as what type of function ?
(A) => defined
(B) => external
(C) => Inbuilt or library
Answer =>> Inbuilt or library

[3] What is called the function already provided by compiler of “C” language ?
(A) => defined
(B) => Inbuilt or library
(C) => external
Answer =>> Inbuilt or library

[4] By whom inbuilt or library function is provided ?
(A) => Compiler
(B) => Translation
(C) => Programming
Answer =>> Compiler

[5] Which function is compulsory in every “C” program ?
(A) => main()
(B) => main
(C) => printf
Answer =>> main()

[6] What is called the item used by “C” language to store different types of values ?
(A) => Constant
(B) => Amount
(C) => Variable
Answer =>> Variable

[7] What is “C” program ?
(A) => Structures
(B) => Group of functions
(C) => Group of codes
Answer =>> Group of functions

[8] When writing is put between /* and */, what is considered in “C” language ?
(A) => Comment
(B) => detail
(C) => Title
Answer =>> Comment

[9] To use symbolic constant what is required to be used in the beginning ?
(A) => printf()
(B) => scanf()
(C) => #defined
Answer =>> #defined

[10] What the file is called where the function you need is stored ?
(A) => Function file
(B) => Header file
(C) => Supporting file
Answer =>> Header file

[11] What is the extension of header file ?
(A) => .hed
(B) => .h
(C) => .hdr
Answer =>> .h

[12] What decides the scope of “C” variable ?
(A) => /* */
(B) => ( )
(C) => [ ]
Answer =>> [ ]

[13] The variable which can be used in all the function is called ………….
(A) => Local Variable
(B) => Constant
(C) => Global Variable
Answer =>> Global Variable

[14] There is a facility to divide “C” language program into small parts , What these parts called ?
(A) => Command
(B) => Function
(C) => Instruction
Answer =>> Function

[15] What is required when we use user function other than main() ?
(A) => Local Variable
(B) => Protocol
(C) => Prototype
Answer =>> Prototype

[16] In how many parts C character set can be divided ?
(A) => Two
(B) => Three
(C) => Four
Answer =>> Four

[17] What is full form of ASCII
(A) => American Standard Code for Information Institute.
(B) => American Standard Code for Information Interchange.
(C) => Alphabetic Standard Code for Information Interchange
Answer =>> American Standard Code for Information Interchange.

[18] In “C” language each string constant ends with which character ?
(A) => 0
(B) => ‘(0)’
(C) => ‘/0’
Answer =>> ‘/0’

[19] Which is other name of Back slash Character ?
(A) => Escape sequence
(B) => string sequence
(C) => Single character sequence
Answer =>> Escape sequence

[20] Which is used to denote end of each statement in C language ?
(A) => ;
(B) => ,
(C) => /
Answer =>> ;

[21] In which year the C language was started ?
(A) => 1927
(B) => 1972
(C) => 1979
Answer =>> 1972

[22] In which laboratory C language started ?
(A) => Bell
(B) => Pell
(C) => Well
Answer =>> Bell

[23] With which keyword integer is represented ?
(A) => float
(B) => char
(C) => int
Answer =>> int

[24] With which keyword decimal is represented ?
(A) => float
(B) => char
(C) => int
Answer =>> float

[25] How many bytes are occupied by int data type ?
(A) => 2
(B) => 4
(C) => 6
Answer =>> 2

[26] How many bytes are occupied by double data types ?
(A) => 2
(B) => 4
(C) => 8
Answer =>> 8

[27] With each character one integer number is attached. What is it called ?
(A) => ASCII
(B) => Numeric
(C) => Integer
Answer =>> ASCII

[28] Which type of data has no specific value ?
(A) => integer
(B) => void
(C) => character
Answer =>> void

[29] What is the symbol suggesting function to be executed on operands ?
(A) => Operator
(B) => Integer
(C) => Real
Answer =>> Operator

[30] In how many parts operators are divided into “C” language ?
(A) => Six
(B) => Seven
(C) => Eight
Answer =>> Eight

[31] Which operator is used to assign constant value or result of an expression to a variable ?
(A) => Assignment operator
(B) => relational operator
(C) => Logical operator
Answer =>> Assignment operator

[32] Which operators are used to change the flow of execution of program ?
(A) => Assignment
(B) => Increment
(C) => Relational
Answer =>> Relational

[33] To check the equality of two operands which operator is used ?
(A) => =
(B) => !=
(C) => ==
Answer =>> ==

[34] How increment operator is shown ?
(A) => +
(B) => ++
(C) => - -
Answer =>> ++

[35] How decrement operator is used ?
(A) => +
(B) => ++
(C) => - -
Answer =>> - -

[36] With which two signs the conditional or ternary operator is known ?
(A) => = :
(B) => + -
(C) => ? :
Answer =>> ? :

[37] For logical OR which operator is used ?
(A) => &&
(B) => | |
(C) => &
Answer =>> | |

[38] In C language which operator is available to directly operator at bit level ?
(A) => Bitwise
(B) => Logical
(C) => Relational
Answer =>> Bitwise

[39] What is called the group of character ?
(A) => group
(B) => string
(C) => character group
Answer =>> string

[40] What is the meaning of stdio.h ?
(A) => Standard in-out header file.
(B) => Standard input-output header file.
(C) => Standard on-off header file.
Answer =>> Standard input-output header file.

[41] Which function is used when user does not want to show input character on the screen ?
(A) => gets()
(B) => getch()
(C) => getsh()
Answer =>> getch()

[42] When if statement is used in another if statement what is it called ?
(A) => if…..else
(B) => switch
(C) => nested if
Answer =>> nested if

[43] In how many ways if statement can be used ?
(A) => Two
(B) => Three
(C) => Four
Answer =>> Three

[44] Which statement becomes useful when the process to be executed is based on the process selected out of multiple alternatives ?
(A) => if…..else
(B) => nested if
(C) => switch
Answer =>> switch

[45] What does switch statement contain after case option ?
(A) => integer number
(B) => constant
(C) => variable
Answer =>> constant

[46] In switch statement at the end of the case label which sign is put ?
(A) => /
(B) => .
(C) => :
Answer =>> :

[47] ANSI C approves how many maximum case labels ?
(A) => 257
(B) => 275
(C) => 260
Answer =>> 257

[48] In C language how many loop control statements are available ?
(A) => One
(B) => Two
(C) => Three
Answer =>> Three

[49] When it is necessary to repeat the execution of certain statement till some specific condition is not fulfilled, which type of statement is used ?
(A) => statement
(B) => do..while loop statement
(C) => for loop statement
Answer =>> for loop statement

[50] In for statement, which sign is used to differentiate the given expression ?
(A) => comma in bracket
(B) => semi colon in bracket
(C) => full point in bracket
Answer =>> semi colon in bracket

[51] Which statement is required to be used when it becomes necessary to terminate the loop without executing other statement of the loop ?
(A) => exit statement
(B) => quit statement
(C) => break statement
Answer =>> break statement

[52] Break statement is known by which other name ?
(A) => Escape loop
(B) => Exit loop
(C) => Close loop
Answer =>> Escape loop

[53] Which statement is used to skip the following statement of the loop ?
(A) => break statement
(B) => continue statement
(C) => if statement
Answer =>> continue statement

[54] With which the group of values having same data type can be shown ?
(A) => Library
(B) => Number
(C) => Array
Answer =>> Array

[55] What is called the array having one or more than one raw and more than one column ?
(A) => Multi array
(B) => Single array
(C) => Multi dimensional array
Answer =>> Multi dimensional array

[56] What is called the valid subscript out of 0 to 9 elements of array ?
(A) => Index
(B) => Post index
(C) => Value
Answer =>> Index

[57] In C language, character array is considered as what ?
(A) => string
(B) => integer
(C) => number
Answer =>> string

[58] When are the value assigned to array elements ?
(A) => at the compile time
(B) => at the run time
(C) => after completion of compile
Answer =>> at the run time

[59] To obtain the size of array which syntax is used ?
(A) => sizeon’
(B) => sizeof’
(C) => sizegv’
Answer =>> sizeof’

[60] Normally in C language how many types of functions are available?
(A) => Two
(B) => Three
(C) => Four
Answer =>> Two