C/C MCQ Quiz Hub

OOPS Quiz Questions and Answers(MCQS)

Choose a topic to test your knowledge and improve your C/C skills

Almost every C program begins with the statement





✅ Correct Answer: 1

The two operators && and || are





✅ Correct Answer: 4

A variable that holds the memory address of another object is called





✅ Correct Answer: 3

Enumeration is a





✅ Correct Answer: 1

In C, square brackets [ ] are used in





✅ Correct Answer: 3

Main( ) is an example of





✅ Correct Answer: 3

By default, any real number in ‘C’ is treated as





✅ Correct Answer: 3

Which of the following operators in ‘C’ programming language takes only integer operands?





✅ Correct Answer: 4

An identifier in C





✅ Correct Answer: 4

Which of the following is a storage class specification in C?





✅ Correct Answer: 4

Which language makes use of object oriented approach?





✅ Correct Answer: 4

Each block of a C program is referred as





✅ Correct Answer: 4

Whenever a C program is executed, execution starts from





✅ Correct Answer: 4

allows the user to use





✅ Correct Answer: 4

_ groups a number of program statements into a single unit.





✅ Correct Answer: 4

When one loop is constructed within another loop it is called a





✅ Correct Answer: 4

By pressing ___ key, the user can exit the turbo C environment.





✅ Correct Answer: 2

In programming, repeating some code is usually called ___





✅ Correct Answer: 1

The first character of the variable name





✅ Correct Answer: 4

In which header file are the library functions used for I/O purpose kept?





✅ Correct Answer: 1

The method of checking the pseudo codes is called ___





✅ Correct Answer: 2

Keywords cannot be used as ____





✅ Correct Answer: 2

Which of the following are called white space characters?





✅ Correct Answer: 3

_ are declared within the body of a function.





✅ Correct Answer: 2

_ is an effective tool for programming scientific, mathematical and engineering computations.





✅ Correct Answer: 3

The functions that are defined according to our requirements are called ____





✅ Correct Answer: 3

In the for loop structure, the clauses namely ___ are optional.





✅ Correct Answer: 4

Subscripted variable is any type such as





✅ Correct Answer: 3

In which of the following it is convenient to group related data items as one entry?





✅ Correct Answer: 1

An unary operator! Represents





✅ Correct Answer: 3

An unary operator! Represents





✅ Correct Answer: 2

The single character input/output functions are





✅ Correct Answer: 4

The general form of the condition expression is





✅ Correct Answer: 1

The break statement is used to exit from a





✅ Correct Answer: 4

Which is not necessary when using bar codes in supermarkets?





✅ Correct Answer: 1

By using ____ the speed of the process can be increased.





✅ Correct Answer: 3

A variable is an algebraic expression that temporarily assumes the properties of a constant is called





✅ Correct Answer: 3

A function can return





✅ Correct Answer: 3

__ have no meaning outside the body of a function.





✅ Correct Answer: 4

The most popular loop for array manipulation is the ___ loop.





✅ Correct Answer: 1

Which of the following statements is correct?





✅ Correct Answer: 4

The most common use of the one dimensional array in C is





✅ Correct Answer: 4

Which header file should be included if it is required to develop a function that can accept variable number of arguments?





✅ Correct Answer: 1

A single character input from the keyboard can be obtained by using the function





✅ Correct Answer: 4

The operator << and >> are





✅ Correct Answer: 2

An error in the program is called





✅ Correct Answer: 2

Ready made library functions are used for





✅ Correct Answer: 4

The maximum length of the variable is ___ characters.





✅ Correct Answer: 2

Which one of the following indicates the solution method?





✅ Correct Answer: 4

Which of the following is an intermediate language?





✅ Correct Answer: 1

Each element in a structure has a





✅ Correct Answer: 2

For two-dimensional arrays data are usually entered





✅ Correct Answer: 3

The __ is a program that links the object code of the program with the library function code that is necessary for the program to run.





✅ Correct Answer: 1

Which of the following statement is used to skip a part of the loop?





✅ Correct Answer: 2

The method in which a problem has been divided into many smaller problems is called ___





✅ Correct Answer: 2

C contains which of the following two special pointer operators?





✅ Correct Answer: 4

The header file `setjmp.h’ can be used for providing





✅ Correct Answer: 4

The general form of do while statements is





✅ Correct Answer: 2

A library files that come with C are





✅ Correct Answer: 2

The math library is set up for the user by the file





✅ Correct Answer: 2

Running any C program involves





✅ Correct Answer: 4

In do-while structure, the condition is checked at ___





✅ Correct Answer: 2

_ is in between English and the high level computer language.





✅ Correct Answer: 1

The functions scan f( ) reads





✅ Correct Answer: 1

An expression





✅ Correct Answer: 3