![]() You can paste this code into the Main function of a console application to run it. ![]() The following example uses the unsafe keyword and the fixed statement, and shows how to increment an interior pointer. There are several examples of pointers in the articles on the fixed statement. The expression *myVariable denotes the int variable found at the address contained in myVariable. For example, consider the following declaration: int* myVariable The pointer indirection operator * can be used to access the contents at the location pointed to by the pointer variable.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |