Using Command Line Arguments Program to Convert a Decimal to Binary Number
It is highly advisable to go through Command Line Arguments Post before even looking at the code. Please study this for TCS and come back to this post later.
int main(int argc, char *argv)
printf("No Arguments ");
int i=0;int j;
//storing in binary array remainder of number
//printing reverse array
Check all other command Line Programs for TCS here on our Command line Programming Dashboard