You just forgot the (&) in scanf after the comma.
More Related Contents:
- How to debug why my C code causes a segmentation fault? [closed]
- How can i create dynamically allocated array In C [duplicate]
- How do I determine the size of my array in C?
- fgets doesn’t work after scanf [duplicate]
- What registers to save in the ARM C calling convention?
- How to read the content of a file to a string in C?
- Can a const variable be used to declare the size of an array in C?
- Why do pthreads’ condition variable functions require a mutex?
- How to use EOF to run through a text file in C?
- How do you make an array of structs in C?
- What is the point of header files in C? [duplicate]
- Platform independent size_t Format specifiers in c?
- Function pointer cast to different signature
- __attribute__((const)) vs __attribute__((pure)) in GNU C
- Replacement of fflush(stdin)
- When to use pthread_exit() and when to use pthread_join() in Linux?
- calculating double integrals in R quickly
- What are function pointers used for, and how would I use them?
- Understanding concurrent file writes from multiple processes
- What does -fwrapv do?
- How to remove all occurrences of a given character from string in C?
- Static vs global
- Best timing method in C?
- Does pow() work for int data type in C? [duplicate]
- What precisely does the %g printf specifier mean?
- 3 plus symbols between two variables (like a+++b) in C [duplicate]
- How to check if a pointer is freed already in C?
- In C how do I print filename of file that is redirected as input in shell
- Output single character in C
- Redefining NULL