Is in-place and shorthand operator are same?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Is in-place and shorthand operator are same??

In place

1st Jul 2020, 4:11 PM
PUJA CHOURSIYA
PUJA CHOURSIYA - avatar
3 Answers
+ 2
Yes
1st Jul 2020, 4:28 PM
Maninder $ingh
Maninder $ingh - avatar
+ 2
Ok
1st Jul 2020, 4:29 PM
PUJA CHOURSIYA
PUJA CHOURSIYA - avatar
+ 1
In-place operation is an operation that changes directly the content of a given linear algebra, vector, matrices without making a copy. The operatorswhich helps to do the operation is called in-place operator Shorthand operator simply allows to test a condition in a single line replacing the multiline if-else making the code compact
1st Jul 2020, 4:33 PM
123