English

What is the importance of void data type?

Advertisements

Question

What is the importance of void data type?

Short/Brief Note
Advertisements

Solution

The void type has two important purposes:

  1. To indicate the function does not return a value.
  2. To declare a generic pointer.
shaalaa.com
  Is there an error in this question or solution?
Chapter 11: Functions - Evaluation - Section - B [Page 205]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 11 Functions
Evaluation - Section - B | Q 3. | Page 205
Advertisements
Share
Notifications



      Forgot password?
Use app×