IJID (International Journal on Informatics for Development)
Vol. 9 No. 1 (2020): IJID June

Bit Manipulation: Conditional Statement using Bit-wise operators with C++

Nafi'ah, Rahmawati (Unknown)
Kurniawan, Wakhid (Unknown)
Setiawan, Johan (Unknown)
Umam, Khoirul (Unknown)

Article Info

Publish Date
03 Nov 2020


All of information that manipulated by a computer is represented in the form of bits, so in the programming language it is necessary to understand bitwise operations at the first. This paper aims to create a concept of making Conditional Statements with Bitwise operators in C ++. By doing so, we hope that people is easy to understand  the operation behind conditional statements. A conditional operator is also known as a ternary operator. It takes three operands. A conditional operator is closely related with if else statement. The method used is a literature study studying the bit manipulation algorithm in the C ++ language. The results obtained are a function using bitwise operations in C ++ that implement conditional statements.

Copyrights © 2020

Journal Info





Computer Science & IT


One important point in the accreditation of higher education study programs is the availability of a journal that holds the results of research of many investigators. Since the year 2012, Informatics Department has English language. Journal called IJID International Journal on Informatics for ...