• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
0

When running this it prints 4... But here a is a char then why it doesn't print 1

int main() { Printf("%d", sizeof('a')); }

c
1st May 2020, 9:39 AM
Muralikrishnan
Muralikrishnan - avatar
1 Resposta

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Vote Code
1 Votes
What’s the actual difference between MB and GB in real-world usage?
1 Votes
Script file names
0 Votes
Without degree job
0 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes
What is wrost mistake that mostly people made while learning coding?
0 Votes
Html learn
1 Votes
Je cherche des gens qui parle français pour apprendre le langage c
0 Votes
Java doubt coders
0 Votes
Python ???
0 Votes