Modular operator ! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Modular operator !

Anyone explain it... void main(){ float ch=4+2%-8; printf("%f",ch); } what the output and why? plz explain modular division and also 2%-8.....

30th Sep 2017, 4:12 AM
Muhammad Belal
Muhammad Belal - avatar
1 Answer
+ 1
hey @Ace you know that return type is optional. you can put. if you've any suggestion....
30th Sep 2017, 3:03 PM
Muhammad Belal
Muhammad Belal - avatar