Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char texto1[] = "um texto";
- char texto2[] = "um texto";
- printf("n%d", texto1 == texto2); //0 - que representa falso
- char *texto3 = texto1;
- printf("n%d", texto1 == texto3); //1 - que representa verdadeiro
- int compara_strings(char str1[], char str2[]){
- int i;
- for (i = 0; str1[i] != '