Explain why data typing helps the programmer when writing a program
oluscoa
0
Newbie Poster
Recommended Answers
Jump to PostOne of the key benefits of type casting is that you know how the compiler will treat your variables. In the classic example:
var x = 5 var y = "37" var z = x + y
Some compilers would treat both variables as strings and concatenate …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.