About this document
Bitwise & Logical Operators Lab 02 by I190845 Samana Nayyab is a document available to read on EtoBox.
Write a function to check if a number is even or odd without using % operator. c. Write a function to swap two numbers without using third variable. Call this function in main(). d. Write a function to check if last bit of given number is set or not. Call this function in main(). e. Write a function to clear last bit of given number. Call this function in main(). f. Write a function to toggle (change 0 to 1 and 1 to 0) last bit of given number. Call this function in main().
- Author
- I190845 Samana Nayyab
- Language
- EN