This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdbool.h> | |
| #include <string.h> | |
| // função para trocar a posição de dois caracteres. | |
| // (usado no algoritmo de ordenamento por ordem alfabética) | |
| void swap(char *a, char *b){ | |
| char temp = *a; | |
| *a = *b; | |
| *b = temp; |