Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (anonymous):

okay so i was looking into C and at a sorting function called shellsort for(gap=n/2;gap>0:gap/=2) what does the operator '/=' mean or do ?

OpenStudy (e.mccormick):

gap = gap/2 is the same as gap /= 2 Same with the shortcuts for others. This has a lost of some ones you find in a lot of languages: http://bioportal.weizmann.ac.il/course/prog2/tutorial/java/nutsandbolts/assignment.html

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!