• Increase font size
  • Default font size
  • Decrease font size

C Language

AddThis Social Bookmark Button

11.) Overloaded functions are

A.) Very long functions that can hardly run

B.) One function containing another one or more functions inside it.

C.) Two or more functions with the same name but different number

     of parameters or type.

D.) None of above

View Answer

Answer: Option D

12.) Find out the error in following block of code.

 If (x = 100)

      Cout << “x is 100”;

A.) 100 should be enclosed in quotations

B.) There is no semicolon at the end of first line

C.) Equals to operator mistake

D.) Variable x should not be inside quotation

View Answer

Answer: Option C

 13.) When we mention the prototype of a function?

A. Defining                         B. Declaring

C. Prototyping                         D. Calling

View Answer 

Answer: Option B

14.) The difference between while structure and do structure for looping is

A.) In while statement the condition is tested at the end of

     first iteration

B.) In do structure the condition is tested at the beginning

     of first iteration

C.) The do structure decides whether to start the loop code or not

      whereas while statement decides whether to repeat the code

      or not

D.)  In while structure condition is tested before executing statements

      inside loop whereas in do structure condition is tested before

      repeating the statements inside loop

View Answer

Answer: Option D

  15.) Specify the 2 library functions to dynamically allocate memory?

A.) malloc() and memalloc()

B.) alloc() and memalloc()

C.) malloc() and calloc()

D.) memalloc() and faralloc()

View Answer 

Answer: Option  C


Oracle Certification


The Oracle Certification Program is a professional certification program offered by the Oracle Corporation. There are three levels of Oracle Certification in several disciplines: Oracle Certified Associate (OCA), Oracle Certified Professional (OCP), and Oracle Certified Master (OCM).

Java Certification


Sun Certified Professional (SCP) is a professional certification program by Sun Microsystems, a subsidiary of Oracle Corporation. There are two levels of java Certification in several disciplines: Sun Certified Java Associate (SCJA), Sun Certified Java Programmer (SCJP), and Sun Certified Java Developer (SCJD)

Red Hat Certification


The Red Hat Certification Program is Red Hat's professional certification program for Red Hat and general Linux related skills such as system administration on Red Hat Enterprise Linux Red Hat Certified Technician (RHCT)  and Red Hat Certified Engineer (RHCE)