C++ Flashcards
(30 cards)
a++
returns value before ‘a’ being incremented
returns value before ‘a’ being incremented
a++
++a
returns incremented value of ‘a’
returns incremented value of ‘a’
++a
a–
returns value before ‘a’ is decremented
returns value before ‘a’ is decremented
a–
–a
returns decremented value of ‘a’
returns decremented value of ‘a’
–a
&&
and statement
and statement
&&
||
or statement
or statement
||
!
not
not
!
log
calculates log
fmax
calculates max among the numbers passed to it
fmin
calculates the min among the numbers passed to it
round
rounds to the nearest integer
calculates log
log
calculates max among the numbers passed to it
fmax
calculates the min among the numbers passed to it
fmin
rounds to the nearest integer
round
takes square root of
sqrt
sqrt
take square root of