Skip to content

Instantly share code, notes, and snippets.

@winhtut
winhtut / Example 1 Printing two dimensional array
Last active October 25, 2018 15:46
Lesson 11 Array Part 2
#include<stdio.h>
#include<conio.h>
int i, j;
int row = 3;
int col = 3;
int main() {
int a[3][3] = { {1,2,3}, {4,5,6}, {7,8,9}};
for (i = 0; i < row; i++) {
for (j = 0; j < col; j++)
#include <SoftwareSerial.h>
SoftwareSerial WinHtutBT(7, 6);
int i = 0;
void setup() {
Serial.begin(9600);
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);