People
Companies
Institutions
Jobs
Q&A
News
AI Dasatoo
Log in
Home
Courses
Tutors
Books
Q&A
Ask and answer questions to make information more available to wider audiences.
Tags
Latest
Ask Question
Isaiah Deetz
@
isaiahdeetz
06, Jun 2023 12:00 AM
multiple types of variables in a single code line
Can we declare the multiple types of variables in a single code line in Golang?
answers
1
Answer 1
Samantha Jeanes
@
jeanessamantha
12, Jun 2023 06:08 PM
Yes, we can declare various type variables in a single code declaration like the example below:
var x,y,a= 8, 10.1, “appmajix”