This shows you the differences between two versions of the page.
— |
cpp:datatypes:void [2024/02/16 01:04] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{keywords>wiki library source code example reference}} | ||
+ | ===== void ===== | ||
+ | void | ||
+ | 0 Bytes | ||
+ | |||
+ | ===== Cpp Sourcecode Example ===== | ||
+ | <code cpp> | ||
+ | #include <iostream> | ||
+ | using namespace std; | ||
+ | |||
+ | int main() | ||
+ | { | ||
+ | |||
+ | cout << "Size of void: " << sizeof(void) << " bytes" << endl; | ||
+ | return 0; | ||
+ | } | ||
+ | </code> |