c quiz Interview Questions and Answers
Ques:- The C language allow arguments to be passed
A. Only call by value
B. Only call by reference
C. Both call by value as well as call by reference
D. None of the above
Ques:- Scope of the variable refers to
A. Duration for which the variable retains a given value during program execution.
B. Part of a program in which the variable can be recognized.
C. Value of the variable.
D. Data type of the variable.
Ques:- A bit field is a
A. One or more adjacent bits within a word.
B. Member of a structure can be passed as an argument.
C. Pointer variable in a structure.
D. None of above
Ques:- Which of the following header file must be included in your property if you want to use graphics property?
A. screen.h
B. graphics.h
C. graph.h
D. stdio.h
Ques:- Every string must be terminated by
A. Linefeed character
B. Null character
C. Newline character
D. Carriage return character
Ques:- Which of the following statement about functions of false?
A. A function can call itself.
B. A function can call another function.
C. Constants can appear in the formal argument list.
D. More than one function is allowed in a program unit.
Ques:- The Turbo C implementation of C Language supports
A. High level file I/O
B. System level file I/O
C. Both a and b
D. Executable files only
Ques:- What is the maximum resolution supported by VGA adapter?
A. 450 x 300
B. 640 x 200
C. 640 x 480
D. 1024 x 768
Ques:- If one or more structure are other structures, then the structure is known as
A. Nested structure
B. Structured structure
C. Invalid structure
D. Self referential structure
Ques:- Each overloaded function must differ
A. either by number of arguments or by data types of arguments
B. by number of argument
C. by type of arguments
D. none of the given
Ques:- When binary operators are overloaded, _____
A. both the right and left objects must be object of the relevant class
B. the right hand object must be an object of the relevant class
C. the left hand object must be an object of the relevant class
D. none of the given
Ques:- A _____ is a set of mn numbers arranged in the form of a rectangular array of m rows and n columns.
A. array
B. row
C. determinant
D. matrix
Ques:- When overloading operators, the overloaded operator must have
A. all the operands of C++ data type
B. atleast one operand of user defined type
C. all the operands of user defined type
D. none of the given
Ques:- In implicit conversion if one of the operand is a _____ the other is converted to a float.
A. double
B. long int
C. float
D. int
Ques:- _____ alters the base data type to yield new data type.
A. arrays
B. constant
C. data
D. modifier
Ques:- The declaration statement char * const.cp.cp is a _____ pointer.
A. integer
B. character
C. constant
D. string
Ques:- _____ is also called as fundamental or basic data type.
A. char
B. float
C. built in data type
D. int-built data type