• Post Reply Bookmark Topic Watch Topic
  • New Topic

non zero value

 
John Valiant
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone give me an example on how to initialise a non zero value using array?

 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John Valiant wrote:Can anyone give me an example on how to initialise a non zero value using array?



What do you mean? Are you talking about initializing the elements of an array to non-zero values? If so, you can do one of the following:



If that's not what you're talking about, you'll need to clarify your question.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!