This Dart code is demonstrating the use of bitwise operators to perform bitwise operations on two variables. Here's what's happening in this code:
void main() { var a,b; a=2; //0010 b=25; //0011 print('Bitwise & : ${a&b}'); print('Bitwise | : ${a|b}'); print('Bitwise ^ : ${a^b}'); print('Bitwise Not : ${~b}'); }To download raw file Click Here
Bitwise & : 0 Bitwise | : 27 Bitwise ^ : 27 Bitwise Not : -26
Learn All in Tamil © Designed & Developed By Tutor Joes | Privacy Policy | Terms & Conditions