• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
+ 6

Why here is the size of arr 100?

#include <stdio.h> int main() { int arr[25]; printf("%i", sizeof (arr)); return 0; }

c
20th Jan 2019, 6:33 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
2 Antworten
+ 1
printf("%d",(int)sizeof(arr)); try this.
20th Jan 2019, 6:38 PM
Ümit YAVUZ
Ümit YAVUZ - avatar

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ß
Fix Rivers in 2D Terrain Map Generator
5 Votes
What Is the most complicated thing you can do
1 Votes
How the operators and commands in this code are executed?
1 Votes
Hello everyone, I want to learn programming, I don't know where to start.
1 Votes
Combination
0 Votes
Will I get the certificate for free if I completed the free course of web development (I am not on pro subscription)
0 Votes
Somebody knows how to solve the problem finance app. Even my result is like it must be, but still I can't pass it
0 Votes
I finished introduction to python
0 Votes
i am begineer
0 Votes
UI and UX
1 Votes