SyntaxFix
Write A Post
Hire A Developer
Questions
Use printf("%ld",a);
printf("%ld",a);
Have a look at format specifiers for printf