Christos
  • Christos
C++, Help needed? Can someone please explain to me the difference between a++; and ++a; or a--; and --a; ?
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
primeralph
  • primeralph
okay, a++ means add 1 after performing an operation.......... ++a means add one before performing an operation.........same with --a and a--
primeralph
  • primeralph
..................this is the part where you say whether or not you understand.............
Christos
  • Christos
ok and one last question since gane is here, Can you please tell me whats the difference between double power(double, int) and int power(double, int) ?

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

Christos
  • Christos
both are function names
primeralph
  • primeralph
double power(double, int) .....returns a double int power(double, int) .........must return an int (will cause loss of data)
Christos
  • Christos
I see, thanks a lot!
primeralph
  • primeralph
you're welcome

Looking for something else?

Not the answer you are looking for? Search for more explanations.