How arrays in go works differently then c ?
Answer / Mohd Danish Khan
In Go, arrays are not automatically initialized and have a fixed length. They can only be declared with the specific size at creation time. Also, Go array indices start from 0 instead of C's 1.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is string types?
Is it recommended to use global variables in a program that implements goroutines?
Is go a case sensitive language?
Why is type assertion used?
Does go (golang) support operator overloading?
How pointer is represented in go?
What is type “bool” default value?
What are goroutines?
How to check a variable type at runtime in go?
What are channels in go language and how can you use them?
How to swap two values in golang?
What are the advantages of go?