• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • 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 Antwort

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Which is easier to learn first between python and JS?
0 Votes
API
0 Votes
Does sololearn teaches on how to create games
0 Votes
Sockets, etc
0 Votes
Quiz
0 Votes
I HAVE A PROBLEM I CANNOT ABLE TO SEND MESSAGE ANYONE AND ALSO MY MESSAGE SECTION NOT AVAILABLE "PLEASE ACTIVATE YOUR ACCOUNT
0 Votes
Necesitó ayuda
1 Votes
Any Sololearn Chat Groups that I could Join?
0 Votes
Controls issue
0 Votes
Excuse me, why do they always ask us to input without telling us what it is for in python.
1 Votes