c quiz

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

2 3338
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.

0 6896
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

0 5389
Ques:- Every string must be terminated by
A. Linefeed character
B. Null character
C. Newline character
D. Carriage return character

1 3118
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.

0 3858
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

1 1544
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

1 6190
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

1 2675
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

0 6612
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

0 5668
Ques:- In an example int *a; which one is the pointer variable?
A. int
B. *
C. a
D. ;

0 8986
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

0 713
Ques:- _____ alters the base data type to yield new data type.
A. arrays
B. constant
C. data
D. modifier

0 5716
Ques:- The declaration statement char * const.cp.cp is a _____ pointer.
A. integer
B. character
C. constant
D. string

0 5393
Ques:- _____ is also called as fundamental or basic data type.
A. char
B. float
C. built in data type
D. int-built data type

0 7338
Scroll to top