es palindromo
// devuelve cierto si la subcadena que hay entre las posiciones inicio y fin es palindromo.
bool esPalindromo(char cad[], int inicio, int fin){
bool pal = false;
if(inicio == fin){
pal = true;
}else{
if(cad[inicio] == cad[fin]){
pal = esPalindromo(cad, inicio + 1, fin - 1);
}
}
return pal;
}
Also in C:
- sidebar materializecss
- c random number
- docker-compose file break line
- factorial of a given number in c
- linux kernel write()
- calculate max of three numbers using ternary operator in c
- how to add a comment in c
- toggling setting clearing checking changing a bit in c
- update ubuntu in terminal
- scanf integer
- how to represent unsigned char with % c
- counter program in c language
- matplotlib legend remove box
- print long in c
- sum of all column in matrix in c
- arduino digital io pins
- how do pointers work in c programmwiz
- strncpy c
- what is constructor
- logging.logger
- if statement shorthand c
- get the latest field in mongodb collection
- 1 212 32123 4321234 543212345 in c
- change custom post type icon