MCQ Practice Single Best Answer Topic: Function in C Language

Q Which of the following is not a valid data type for function return value in C language?

Question ID
#7182
Subchapter
Function in C Language
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A int
  • B void
  • C float
  • D buit
Correct Answer: D

Explanation

Answer: d. buit

Explanation: In C language, a function can return any data type including int, void, float, double, char, pointers, structures, and unions. However, buit is not a valid data type for function return value.

Share This Question

Share this MCQ with your friends or study group.