Void description
Void is "no type", void * is "no type Pointer", can point to any data type.
Void pointer usage Specification① The Void pointer can point to any type of data, that is, the void pointer can be assigned a value to any type of data.
Main content: function without parameter details, function default return int type proof, return default return value, void pointer + + operationFirst, the function without parameters when the detailsThe function should be void when there are no
1. OverviewMany beginners do not understand the type of void and void pointer in C + + language, so there are some errors in usage. This article will explain the profound meaning of the void keyword, and detail the methods and techniques for the use
Deep Exploration of C/C ++ language void and void pointer
Article Source: pconline Author: Song Baohua
1. OverviewMany beginners do not understand the void and void pointer types in
1. Overview
Many beginners do not understand the void and void pointer types in C/C ++, so some errors have occurred in usage. This article will describe the profound meaning of the void keyword and describe how to use the void and void pointer
A Deep Exploration of C + + language void and void pointers1. OverviewMany beginners do not understand the void and void pointer types in the C + + language, so there are some errors in their use. This article explains the profound meaning of the
1. OverviewMany beginners do not understand the void and void pointer types in C/C ++, so some errors have occurred in usage. This article will describe the profound meaning of the void keyword and describe how to use the void and void pointer types.
Programmer --- C language details 27 (when the function has no parameters, the function returns the int type proof by default, the return value by default, and the void pointer ++ Operation)Main Content: details when the function has no parameters,
Profound analysis of void and void pointer meaning, void pointer ParsingRules for using the void Keyword:1. If the function does not return a value, the void type should be declared;2. If the function has no parameters, the void parameter should be
1. OverviewMany beginners do not understand the void and void pointer types in C/C ++, so some errors have occurred in usage. This article will describe the profound meaning of the void keyword and describe how to use the void and void pointer types.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.