Can someone help me in making this code more idiom...
# codereview
c
Can someone help me in making this code more idiomatic?