+ 2

What is the meaning of these

p*=i , a%=b, =&p or =p& please tell what these actually means in C++

7th Dec 2016, 5:22 PM
N1H4R
N1H4R - avatar
4 ответов
+ 2
oh sorry I thought the question to be different actually these are shorthands a*=b means a=a*b x*=y makes x 6. x+=y makes x 5 and x%=y makes x to 3
8th Dec 2016, 6:44 AM
Sandeep Chatterjee
+ 2
thanx bro now I got it..
8th Dec 2016, 8:35 AM
N1H4R
N1H4R - avatar
+ 1
& is for address of variable the place where it is stored *isforvalue stored in an address and % is different thing it is remainder
7th Dec 2016, 8:36 PM
Sandeep Chatterjee
+ 1
but if x=2 y=3 , then here whats the result of x *=y ??
8th Dec 2016, 12:53 AM
N1H4R
N1H4R - avatar