• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
+ 1

Can you write a program to show the bits of an integer?

you have to show bits without changing decimal number to binary. you can use bitwise operator. 1&x= x; 0&x= x;

forloopoperatorbitwise
5th Nov 2017, 3:53 PM
Rahul Jain
Rahul Jain - avatar
1 Respuesta

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
How to properly reverse a string in python
5 Votes
Using Python on VScode
2 Votes
Python Developer
0 Votes
hi my coding instor told me to make a calculator that find the average of two numbers can you pls tell me my erro
0 Votes
Hi guys I need some one to teach the String name how I can do it true because when I finish coding they give me NO OUTPUT
1 Votes
fully dynamic arrays
1 Votes
Wayss
0 Votes
Can I take the certificates after finished the lessons?
1 Votes
Hearts
0 Votes
Project subjection
0 Votes