What is string literals?
Answer / Abhay Kumar Bharti
"String literals in Go are sequences of bytes enclosed within double quotes ("). They can represent any sequence of bytes, including Unicode characters. A backslash () can be used to escape certain special characters within string literals:
for newline,
for carriage return, for tab, ' for single quote, etc.".n
| Is This Answer Correct ? | 0 Yes | 0 No |
What are methods in go?
What are the several built-in supports in go?
What are packages in go program?
What are channels and how can you use them in golang?
What are packages in go language?
How to use custom packages in go language?
What is slice in go?
Why should one use go programming language?
Does go programming language support operator overloading?
What are the advantages of go?
How will you document libraries?
What is function closures in go pragramming?