is 2 square is 2**2
and wht does a%=b does it a have difference from a%b ( by the way it means modulo, doesnt it???)
and a+=b...
what does this mean a?b
This is a discussion on functions within the C Programming forums, part of the General Programming Boards category; is 2 square is 2**2 and wht does a%=b does it a have difference from a%b ( by the way ...
is 2 square is 2**2
and wht does a%=b does it a have difference from a%b ( by the way it means modulo, doesnt it???)
and a+=b...
what does this mean a?b
there is no operator as **.instead a power function is present in c.is 2 square is 2**2
eg
pow(m,n)//calculates m raised to the power nthis means a=a%b where % is the modulo operator which gives the remainder of a/b;and wht does a%=b does it a have difference from a%b
similarly a+=b means a=a+b;
a?b doesn't do anything.it must be a?b:c where ?: is a ternary operator which means if a is true retun b else return c.