T_6(2) - } for(a=0;a<2;a++)...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include<stdio.h> #include<conio.h> # void main(void) { int arr[2][2]; int a,b; clrscr(); for(a=0;a<2;a++) for(b=0;b<2;b++) { printf("Enter value %d%d:",a+1,b+1); scanf("%d",*(*(arr+a)+b));
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: } for(a=0;a&lt;2;a++) for(b=0;b&lt;2;b++) *(*(arr+a)+b)=35; for(a=0;a&lt;2;a++) {for(b=0;b&lt;2;b++) printf(&quot;%d &quot;,*(*(arr+a)+b)); printf(&quot;\n&quot;);} getch(); }...
View Full Document

Ask a homework question - tutors are online