Void Data Type in C Language

aimtocode

Data type Definition

The data type supported in a language dictates the type of values which can be processed by the language.

C supports several different types of data, each of which may be represented differently within the computers memory.

Data types are means to identify the type of data and associated operations for handling it. Every variable in C has a data types.


Void data Types

This is usually used to specify the type of functions which returns nothing. We will get acquainted to this datatype as we start learning more advanced topics in C language, like functions, pointers etc.

Void is an empty data type that has no value. This can be used in functions and pointers.

Example:




Read Also:


aimtocode