Bird
0
0

What is the return type of a FreeRTOS task function?

easy📝 Conceptual Q2 of 15
FreeRTOS - Task Creation and Management
What is the return type of a FreeRTOS task function?
Aint
Bvoid
Cbool
DTaskHandle_t
Step-by-Step Solution
Solution:
  1. Step 1: Recall FreeRTOS task function return type

    FreeRTOS task functions do not return a value; they have a void return type.
  2. Step 2: Match options with this knowledge

    Only void specifies void as the return type.
  3. Final Answer:

    void -> Option B
  4. Quick Check:

    Task return type = void [OK]
Quick Trick: Task functions never return a value, always void [OK]
Common Mistakes:
  • Assuming tasks return status codes
  • Confusing with other function types
  • Expecting a handle as return

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes