I am new to learning C ( started a week ago ). I keep getting segmentation fault error with the below code. I am not doing anything complicated but cant get this simple program to work. Any help would be appreciated.
I have tried changing types and format specifiers. None of them helped.
New contributor
dbassDev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1