Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What will be the output of the following code?
Home
GoLang
What will be the output of the following code?
0
votes
asked
Aug 19, 2022
in
GoLang
by
john ganales
What will be the output of the following code?
package main
import "fmt"
const (
i = 7
j
k
)
func main() {
fmt.Println(i, j, k)
}
golang
program
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 19, 2022
by
john ganales
It would print 777
Related questions
0
votes
Q: What will be the output of the following Java code snippet?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
java
program
0
votes
Q: What will be the output of the following Java program?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
java
program
0
votes
Q: Which one of the following options is the correct output for the given code of JavaScript?
asked
Mar 23, 2021
in
JavaScript
by
sharadyadav1986
javascript
output
code
program
0
votes
Q: Which one of the following code is equivalent to the following given code?
asked
Mar 23, 2021
in
JavaScript
by
sharadyadav1986
javascript
code
program
0
votes
Q: Is it true that short variable declaration := can be used only inside a function?
asked
Aug 19, 2022
in
GoLang
by
john ganales
golang
short-variable
0
votes
Q: What are the Functions in Golang
asked
Apr 27, 2023
in
GoLang
by
Robin
functions
golang
0
votes
Q: Please provide the example with syntax of Array in Golang
asked
Apr 27, 2023
in
GoLang
by
Robin
array
golang
0
votes
Q: Please provide the example with syntax of Switch statement in Golang
asked
Apr 27, 2023
in
GoLang
by
Robin
switch
statement
golang
0
votes
Q: What are constants in GOlang
asked
Apr 27, 2023
in
GoLang
by
Robin
constants
golang
0
votes
Q: What are the Variables in Golang
asked
Apr 27, 2023
in
GoLang
by
Robin
golang
variables-go
...