Paper Tayyari

Lecture 9: Functions

MCQs, short and long questions from lecture 9.Lecture 9 ki MCQs, short aur long sawal.

2 MCQs · 2 MCQs from past papers2 MCQs · 2 MCQs past papers se

Start mock testMock test shuru karein
DoneHal kiye 0/2
– correctsahi
1.
★ Final term solved MCQs (Moaaz & Asad)

The return type of a function that do not return any value must be ________

  1. Afloat
  2. Bint
  3. Cvoid
  4. Ddouble

void declares that a function returns no value.

2.
★ Final term solved MCQs (Moaaz & Asad)

If the return type of a function is void then it means that it will,

  1. AReturn any type of data
  2. BReturn some specific type of data
  3. CReturn no data
  4. DReturn just character data

void means the function returns no value.