Bit wise AND (&) operator

Bit wise operator वगळता सर्व operator हे संपुर्ण 1 byte, किंवा 2 bytes किंवा 4 bytes वर काम करते पण मी ज्यावेळी bit wise operator म्हणते त्यावेळी त्याचे operation operand च्या प्रत्येक bit वर होणार आहे. त्यामुळे मी जस असे expression लिहीले x = a & b तर bit 0 (zero) of a will be ANDed  with bit 0 (zero) of b and result will be stored at bit 0 (zero) of x, bit 1 (one) of a will be ANDed  with bit 1 (one) of b and result will be stored at bit 1 (one) of x and so on…        

 Table I                                             Table II

Bit wise AND

Bit wise AND

Register here to read about this post as well as animated contents with Marathi voice over… Or sign up below…

Advertisements

One thought on “Bit wise AND (&) operator

  1. Pingback: Bitwise NOT – One’s Complement operator | C Marathi™

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s