Skip to content

Instantly share code, notes, and snippets.

@austa
Created March 19, 2013 11:48
Show Gist options
  • Select an option

  • Save austa/5195471 to your computer and use it in GitHub Desktop.

Select an option

Save austa/5195471 to your computer and use it in GitHub Desktop.
/*
* File: main.c
* Author: alaattin
*
* Created on 19 Mart 2013 Salı, 13:40
*/
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
/*
*
*/
void strToLower(char [][30]);
int main(int argc, char** argv) {
char kelimeler [][30] = {"SENeYE", "MezUN", "OLAcaGIM","HEYOOO","YEAPppPP"};
strToLower(kelimeler);
return (EXIT_SUCCESS);
}
void strToLower(char kelimeler[][30]){
int i = 0, j = 0;
for(i = 0; i < 5; i++){
for(j = 0; kelimeler [i][j] != '\0'; j++){
printf("%c", tolower(kelimeler[i][j]));
}
printf("\t");
}
printf("\n");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment