Answers for "what can i do/build with python"

Go
0

when should I use a DIRECTORY_SEPARATOR vs a slash

It doesn't matter -- PHP's IO functions will internally convert 
slashes to the appropriate character.
Posted by: Guest on January-23-2020
0

when do we need & in golang

var a = 5
var p = &a // p holds variable a's memory address
fmt.Printf("Address of var a: %pn", p)
fmt.Printf("Value of var a: %vn", *p)

// Let's change a value (using the initial variable or the pointer)
*p = 3 // using pointer
a = 3 // using initial var

fmt.Printf("Address of var a: %pn", p)
fmt.Printf("Value of var a: %vn", *p)
Posted by: Guest on May-20-2020

Code answers related to "what can i do/build with python"

Browse Popular Code Answers by Language