Click here to Skip to main content
12,067,668 members (30,744 online)
Click here to Skip to main content

Tagged as

Stats

1.2K views
Posted

De-referencing pointers in the fastest way

, 10 Oct 2012 CPOL
Hi,Need your valuable suggestions.struct node{ char name[20];};int main(void){ struct node n1; struct node* ptr; strcpy(n1.name, "HelloWorld!"); ptr = $n1; printf("%s\n", ptr->name); // is this the fastest // printf("%s\n", n1.name); // is...

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 11-Oct-12 4:23 Available Jochen Arndt
Added pre tags to code block
1 No 11-Oct-12 3:50 Available Zerr0cool

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author


You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.160208.1 | Last Updated 11 Oct 2012
Article Copyright 2012 by Zerr0cool
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid