hi.jope it will solve your problem. void main() { int b=5,r,i=0,p=0;
while(b>0)
{
r=b%2;
a[i]=r;
b=b/2;
i++;
p++;
}
p--;
for(i=p;i>=0;i--)
{
printf("%d",a[i]);
}
}
} }
sscanf, atoi, strtol, ...
cg code for binary tree
write a c++ program to convert binary number to decimal number by using while statement
C programs do not function without functions.
C date and time functions refer to a group of functions in the standard library of the C programming language that implements time and date operations like conversion between date formats.
By using those two functions in your code.
All these are conversion functions - atoi()-string to integer.itoa()-integer to string.gcvt()-double to string
functions which have been modified by using different return types
write a c program that takes a binary file as input and finds error check using different mechanisms.
By using a compiler.
No, because C does not support the concept of template functions. Template functions only exist in C++, never in C.
What do you mean by stack-refreshing? Anyway, there are no stack handling functions in the standard C library.