Theseus
alive2100@gmail.com
Search
Theseus
ApplicationMemo
2 by 2 matrix declare and extraction
Source Code
#include <stdio.h>
int main(void)
{
char a[2][2] = {'a','b','c','d'};
printf("%c \n",a[0][0]);
printf("%c \n",a[0][1]);
printf("%c \n",a[1][0]);
printf("%c \n",a[1][1]);
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment