Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
BPC cv 5_Test
#include<stdio.h> #include<stdbool.h> int main() { // char, short, int, long, long long, unsigned, bool // signed // double, float, long double int a = 1; printf("Velikost a je: %zu\n", sizeof(a)); printf("Velikost short je: %zu\n", sizeof(short)); printf("Velikost int je: %zu\n", sizeof(int)); printf("Velikost long je: %zu\n", sizeof(long)); printf("Velikost long long je: %zu\n", sizeof(long long)); printf("Velikost unsigned je: %zu\n", sizeof(unsigned)); printf("Velikost bool je: %zu bajt, coz je %zu bitu \n", sizeof(bool),sizeof(bool)*8); printf("Velikost signed je: %zu\n", sizeof(signed)); printf("Velikost double je: %zu\n", sizeof(double)); printf("Velikost char je: %zu\n", sizeof(char)); printf("Velikost short je: %zu\n", sizeof(short)); printf("Velikost float je: %zu\n", sizeof(float)); printf("Velikost long double je: %zu\n", sizeof(long double)); return 0; }
run
|
edit
|
history
|
help
0
stdio.h
TStack_array
inicializace struktury
BPC UDP pr3 cv10 final
Stack
struktura vzalenost
kamo discriminant oprava
prestupny rok
array of structures
Simple c