and for more control about argument handling you can use getopt (from GNU). and else like Mahesh.Shetye said: #include <stdio.h> int main(int...
Like this: void int_to_binary(int x) { int cnt, mask = 1 << 31; for(cnt=1;cnt<=32;++cnt) { putchar(((x & mask) == 0) ? '0' : '1');...
Separate names with a comma.