BITWISE OPERATORS IN C LANGUAGE THE EXPLANATION, IN DETAIL, OF THEIR USE. LITTLE TRICKS
pdf (Русский)

Keywords

Programming languages, bitwise operators, the solution of the problem, instructions.

How to Cite

NICOLI, M. (2019). BITWISE OPERATORS IN C LANGUAGE THE EXPLANATION, IN DETAIL, OF THEIR USE. LITTLE TRICKS. Acta Et Commentationes Sciences of Education , 18(4), 62-72. https://doi.org/10.36120/2587-3636.v18i4.62-72

Abstract

The programming languages provide a number of operators, primarily for the usual mathematical operations. Usually they have associated instructions that the microprocessor can execute directly. The bitwise operators also correspond to instructions that the microprocessor has in its set, even if they do not necessarily correspond to widely known operations. Thus, using them to perform certain tasks makes the programs very fast, especially if they are used in their critical sequences. In this material we will present the syntax and the effect of these operators in the C / C ++ language and we will present relevant situations where certain problems can be solved elegantly and by code that is executed quickly, with the help of bitwise operators.

https://doi.org/10.36120/2587-3636.v18i4.62-72
pdf (Русский)
Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.