24. Program - 10
#include<stdio.h>
#include<conio.h>
void main()
{
int marks[2][3];
int count;
clrscr();
printf("Enter the marks for 1st studentn");
for (count=0;count<=2;count++)
{
printf("Enter marks in subject code -> %dt",count+1);
scanf("%d",&marks[0][count]);
}
printf("Enter the marks for 2nd studentn");
for (count=0;count<=2;count++)
{
printf("Enter marks in subject code -> %dt",count+1);
getch();
scanf("%d",&marks[1][count]); }
}
Vinay Arora
CSED
37. Program - 15
#include<stdio.h>
#include<conio.h>
void main()
{
int i=10;
int *j;
clrscr();
printf("nValue of i=%d",i);
printf("nAddress of i=%u",&i);
j=&i;
printf("nValue of j=%d",*j);
getch();
}
Vinay Arora
CSED