Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

C first digit of integer

int x = 123;

while (x >= 10)
{
	x = x / 10;
}
 
PREVIOUS NEXT
Tagged: #C #digit #integer
ADD COMMENT
Topic
Name
4+6 =