Kashub's Code Barn - "dsdsaa"

podświetlone jako oracle8 (dodał(a) dsad @ 2011-11-21 22:13:55)

Podświetl ten kod w:
Ostatnio dodane:
Losowe wpisy:
#include <stdio.h>
#include <stdlib.h>
 
void zamiana( CHAR tab[]){
 
int x=0;
int ilosc = 0;
 
WHILE(tab[x] != '\0')
x++;
 
int a;
 
FOR( a = 0; a < x/2 ; a++){
CHAR pomocnicza;
pomocnicza = tab[a];
tab[a] = tab[x - 1 - a];
tab[x - a -1] = pomocnicza;
 
}
 
} 
 
int main(int argc, CHAR*argv[]){
 
zamiana( argv[1]);
 
printf("%s\n", argv[1]);
 
}
| żywność ekologiczna | | Skracacz adresów | | Skróć link | | Załóż za darmo bloga | | Best Cold Press Slow Juicers UK 2025 | | Best Washing Machines June 2025 | | Jewelry & Accessories UK | | UK Water Sports Shop | | Ski Gloves UK Shop | | Beanie Hats Uk Shop |