Search
 
SCRIPT & CODE EXAMPLE
 

C

matrix of string in c

#define ROW 3
#define COL 3
int main(int argc, char *argv[])
{
    int i, j;
    char *matrix[ROW][COL] = {
        {"aa", "bb", "cc"},
        {"dd", "ee", "ff"},
        {"gg", "hh", "ii"},
    };

    for(i = 0; i < ROW; i++){
        for(j = 0; j < COL; j++){
            printf("matrix[%d][%d] is %s
", i, j, matrix[i][j]);
        }
    }

    return 0;
}
Comment

PREVIOUS NEXT
Code Example
C :: i2c scanner 
C :: how to stop scanf from adding a new line in c 
C :: time random c 
C :: crear funcion en c 
C :: how to do add to an integrr in c 
C :: jframe mittig positionieren 
Dart :: how to diable flutter for web 
Dart :: list item bottom border in flutter 
Dart :: flutter elevated button radius 
Dart :: clickable container flutter 
Dart :: flutter lock screen to portrait mode 
Dart :: sleep in dart 
Dart :: change padding in text field flutter 
Dart :: loop in dart 
Dart :: add bg image to scaffold flutter 
Dart :: put container in bottom column flutter 
Dart :: flutter scroll to bottom 
Dart :: flutter on build complete 
Dart :: flutter snackbar width 
Dart :: how to change flutter text font 
Dart :: convert string to float .0 dart 
Dart :: six_ft_apart 
Dart :: dart list remove range 
Dart :: flutter main.dart 
Dart :: flutter flat button size 
Dart :: flutter chip delete icon 
Dart :: flutter back button with data 
Dart :: flutter list.generate 
Dart :: listview flutter give padding to list bottom 
Dart :: flutter pub upgrade and save pubspec 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =