Microcontroller Embedded C Programming Lecture 100| Finding a number even or odd using testing of bits
Find a number even or odd using testing of bits Exercise: Write the program to find a number even or odd using testing of bits using the…
Find a number even or odd using testing of bits Exercise: Write the program to find a number even or odd using testing of bits using the…
Applicability of bitwise operators : Testing of bits In this article, let's understand about testing of bits using the bitwise AND (&) operator. We'll understand this by…
Bitwise AND and bitwise OR In the previous article, we discussed Bitwise operators in 'C'. In this article let’s do the Bitwise AND and bitwise OR exercise.…
Bitwise operators in 'C' Bitwise operators present in 'C': There are six bitwise operators. 1. Bitwise AND (&) Syntax: result = operand1 & operand2 It performs…
switch case exercise solution In this post, let's continue our previous exercise. Let's modify the code to handle the negative numbers. First, let's check the case c,…
switch case exercise solution In this article, let's calculate the area of various geometrical figures using switch/case statements. Exercise: Write a program to calculate the area…