Use the sizeof
operator:
printf("%zu", sizeof(struct jump*));
More Related Contents:
- Difference between pre- and postfix incrementation in C (++a and a++) [duplicate]
- How to count the number of times a while loop is executed
- Why do you have to link the math library in C?
- Why is this happening with the sizeof operator when comparing with a negative number? [duplicate]
- abnormal behavior of scanf [duplicate]
- How to know linux scheduler time slice?
- Difference between int main() and int main(void)?
- Split string in C every white space
- Precedence of && over || [duplicate]
- read line by line in the most efficient way *platform specific*
- C Failing to compile: Can’t find math.h functions [duplicate]
- Wrap around explanation for signed and unsigned variables in C?
- Why are LIB files beasts of such a duplicitous nature?
- warning: return type defaults to ‘int’ [-Wreturn-type]
- Is it possible to allocate array inside function and return it using reference?
- Where to find the complete definition of off_t type?
- printf with “%d” of numbers starting with 0 (ex “0102”) giving unexpected answer (ex ‘”66″)
- default value for struct member in C
- Finding out if a message over tcp was delivered
- calling assembly function from c
- cross-platform printing of 64-bit integers with printf
- double negation in C : is it guaranteed to return 0/1?
- Is there a way to get the filename from a `FILE*`? [duplicate]
- Compiling a C program that uses OpenGl in Mac OS X
- A possible algorithm for determining whether two strings are anagrams of one another? [closed]
- What is ‘:-!!’ in C?
- Why vectorizing the loop over 64-bit elements does not have performance improvement over large buffers?
- Standard data structure library in C? [closed]
- Infinite recursion in C
- How C strings are allocated in memory?