Search
 
SCRIPT & CODE EXAMPLE
 

C

Print the number 0 using write()

#include <stdio.h>

int main(void) {
    int n = 123;

    putchar((n % 10) + '0');
    n /= 10;
    putchar((n % 10) + '0');
    n /= 10;
    putchar((n % 10) + '0');

    return 0;
}
Comment

PREVIOUS NEXT
Code Example
C :: sadsa 
C :: c# Regex similar wor 
C :: maximum, minimum, mean, and median of the data set. in array c programming 
C :: fgets langage c 
C :: escaping characters in hibernate queries 
C :: ringing a bell using c 
C :: levenshtein c 
C :: lazer codechef 
C :: or gmode inline image 
C :: + ********************* 
C :: c text modifiers 
C :: letter in alphabet or not 
C :: c printf float value 
C :: sort linked list c 
C :: c make list 
C :: print name of file argv c 
Dart :: How to create a round CheckBox in Flutter 
Dart :: elevated button size flutter 
Dart :: flutter textinput number 
Dart :: text field make screen goes white flutter 
Dart :: flutter checkbox 
Dart :: how to hide notficition bar in flutter 
Dart :: how to get screen size in flutter 
Dart :: dart async vs async* 
Dart :: how to make appbar transparent in flutter 
Dart :: flutter linearprogressindicator value 
Dart :: linearprogressindicator flutter 
Dart :: flutter audio player get duration 
Dart :: Dart set list spread operator 
Dart :: dart dictionary 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =