Created
March 19, 2013 11:40
-
-
Save austa/5195443 to your computer and use it in GitHub Desktop.
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
| /* | |
| * File: main.c | |
| * Author: alaattin | |
| * | |
| * Created on 19 Mart 2013 Salı, 13:28 | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <ctype.h> | |
| /* | |
| * | |
| */ | |
| void strToUpper(char [][30]); | |
| int main(int argc, char** argv) { | |
| char karakter_dizisi [][30] = {"isletim", "sistemleri","dersi", "kolay"}; | |
| strToUpper(karakter_dizisi); | |
| return (EXIT_SUCCESS); | |
| } | |
| void strToUpper(char string [3][30]){ | |
| int i = 0, j = 0; | |
| for(i = 0; i < 4; i++){ | |
| for(j = 0; string[i][j] != '\0'; j++){ | |
| printf("%c", toupper(string[i][j])); | |
| } | |
| printf(" "); | |
| } | |
| printf("\n"); | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment