Search
 
SCRIPT & CODE EXAMPLE
 

C

successeur d’un entier donné

void Succ (char * ch){
    if (Dernier(ch) == '9'){
        // Debut(ch) : délivre ch privée de son dernier élément
      	Succ(Debut(ch));
      	// AjoutF(ch, c) : délivre ch à laquelle on a rajouté à la fin de ch 
        AjoutF(ch, '0');
    }else{
      	// Dernier(ch) : délivre le dernier caractère de ch
        int n = int(Dernier(ch));
        n++;
        //Carat(n) : int -- char
        AjoutF(Debut(ch), Carat(n));
    }
}
Comment

PREVIOUS NEXT
Code Example
C :: successeur ("123") 
C :: for loop c 
C :: how to find sum of two nums 
C :: execute maven project in cmd 
C :: write a program in c to check whether the number is armstrong or not 
C :: atomic variable c 
C :: silicon valley 
C :: lldb set breakpoint function name 
C :: c convert number to string 
C :: c output 
C :: Futter Square Button 
C :: redirect to url page asp.net mvc 
C :: take long long input in c 
C :: install tweaks ubuntu 
C :: PATH_MAX 
C :: c memset 
C :: what is string::npos 
C :: c recursion func revers number 
C :: Fibonacci Series Program. in c 
C :: How to convert string to int without using library functions in c 
C :: C (ANSI) 
C :: clear screen in c 
C :: array of strings in c 
C :: Program to Check Whether Character is Lowercase or Not without using islower function 
C :: how to select numeric columns in r 
C :: definir função em c 
C :: gitlab ci heroku 
C :: how to debug a segmentation fault in c 
C :: declare an array 
C :: ansi c read write bmp 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =