Classical

C Programming MCQ - Functions & Recursion

6:  

A function that is prototype as

int calculate(int num);

may

A.

Recieve an integer variable named num from the main () program

B.

Receive any integer variable from the main() program

C.

Either (a) or (b)

D.

None of these

 
 

Option: C

Explanation :


7:   A function that uses variable types is called
A. Overloaded
B. Template Function
C. Variable function
D. Virtual function
 
 

Option: C

Explanation :


8:   A function that is prototyped as double calculate (int, num);
may
A. Receive an integer constant such as 12
B. Receive an integer variable
C. Either (a) or (b)
D. None of these
 
 

Option: B

Explanation :


9:  

The declaration

void function1(int)

indicates the function1 is a function which

A.

Has no arguments

B.

Returns nothing

C.

Both (a) and (b)

D.

None of these

 
 

Option: B

Explanation :


10:   The function fprintf is used in a program
A. When too many printf calls have been alrady used in the program
B. In place of printf, since printf uses more memory
C. When output i to be printed on to a file
D. All of above
 
 

Option: C

Explanation :




Suggest an improvement

 


Syllabus Covered in this section is

  • Elements of C-Tokens
  • Identifiers
  • data types in C
  • Control structures in, C
  •  Sequence, selection and iteration(s).
  • Structured data types in C
  • Arrays, Structures, union, String, and pointers
  • Functions, Recursion
  • Parameter passing, Scope
  •  Binding, Abstract data types

This Section covers Multiple Choice Questions Answers in C Programming . Here questions answers are given with explanation and references. These questions can be used for the preparation of various competitive and academic exams.

Who can benefit - 

  • Any undergraduate or postgraduate student who is seeking C Programming objective type questions answers can use this section.
  • C programming Multiple Choice questions Answers can help you in interview preparation.
  • C Programming Objective type Questions Answers are also used at SSC and HSc level for Exam preparation.
  • C Programming MCQ Questions Answers are also used by engineering students in the preparation of their Exams.
  • Any candidate who has to appear for DOEACC A, B or C level Exam can also learn C Programming Questions Answers.
  • All the teachers who are appearing for Kendriya Vidyalya Sangathan Entrance Exam can also use C Programming Multiple Choice Questions Answers.
  • C Programming MCQs can also be used by the students who are pursuing B.Sc or Msc Computer Science.
  • C Programming Questions Answers can also be used by BCA students for the preparation of their exams.
  • Any student who is pursuing B.Sc. in Information Technology can also use this C Programming mcq Questions Answers.
  •  MCA students can also prepare for their exams using  C Programming Objective Type Questions Answers.
  • You can get free access to C Programming mcq pdf.
  • You can also have online access to C Programming Questions Answers EBook.

Various Search Terms used for this section are

  • C Programming quiz questions with answers

  • C Programming exam questions answers

  • C Programming MCQ questions Answers

  • C Programming MCQ

  • C Programming Questions Answers