Operators #cprogrammingquiz #cprogramming #learntech
Intermediate-level Programming video in Tamil by Learn Tech, 1 minute long, published 12 Feb 2023.
Explanation: The code initializes x with the value 10. The printf statement outputs three values: x, x left shift 2, and x right shift 1. The left shift operator performs a left shift on x, effectively multiplying it by 2 to the power of 2, resulting in x left shift 2 equal to 10 * 2^2 = 10 * 4 = 40. The right shift operator performs a right shift on x, effectively dividing it by 2 to the power of 1, resulting in x right shift 1 equal to 10 / 2 = 5. -------------------------------------------------------------------------- Hyperlink Section -------------------------------------------------------------------------- ●►Programming Tutorial : https://youtu.be/h2mBFFoysLw ●►Networking Tutorial : https://youtu.be/nk3HbwHsPfQ ●►GitHub Link : https://github.com/sundarssp123/Learn-Tech ●►Instagram : https://www.instagram.com/sundarssp ●►Telegram : https://t.me/learntechofficial ●►LinkedIn : https://www.linkedin.com/in/sundar-ssp-37345a146/…more
Explanation: The code initializes x with the value 10. The printf statement outputs three values: x, x left shift 2, and x right shift 1. The left shift operator performs a left shift on x, effectively multiplying it by 2 to the power of 2, resulting in x left shift 2 equal to 10 * 2^2 = 10 * 4 = 40. The right shift operator performs a right shift on x, effectively dividing it by 2 to the power of 1, resulting in x right shift 1 equal to 10 / 2 = 5. -------------------------------------------------------------------------- Hyperlink Section -------------------------------------------------------------------------- ●►Programming Tutorial : https://youtu.be/h2mBFFoysLw ●►Networking Tutorial : https://youtu.be/nk3HbwHsPfQ ●►GitHub Link : https://github.com/sundarssp123/Learn-Tech ●►Instagram : https://www.instagram.com/sundarssp ●►Telegram : https://t.me/learntechofficial ●►LinkedIn : https://www.linkedin.com/in/sundar-ssp-37345a146/