• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
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 Odpowiedź

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Concerning image
1 Votes
What is dynamic memory
1 Votes
How can I learn codes
1 Votes
How do you create a game
1 Votes
What is the answer of the web development where it is asked how many times will the messages will be displayed.In the last part.
1 Votes
stop scrolling if navbar is open
2 Votes
Code coach "camel and snake"
0 Votes
Object Oriented Programming
0 Votes
“Beginner in Coding: Which Language Should I Learn First for Unreal Engine Game Development?”
0 Votes
What is the best coding language to create a successful game on steam
0 Votes