Go Package fmt: Difference between revisions
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
<pre> | <pre> | ||
fmt.Printf("%p\n", | fmt.Printf("%p\n", sPtr) | ||
</pre> | </pre> | ||
==<tt>fmt.Scanf()</tt>== | ==<tt>fmt.Scanf()</tt>== |
Revision as of 19:33, 2 April 2016
External
Internal
fmt Package Functions
fmt.Println()
fmt.Printf()
Prints according to a format specifier. Format specifier documentation https://golang.org/pkg/fmt
Printing Pointer Values
fmt.Printf("%p\n", sPtr)