COMPUTER ENGINEERING GAYN
Q. write the program to find the size of the array ?
ans:- input-
//array:array is a derived data type
//array:homogenous data element togrther into single
#include<stdio.h>
int main()
{
int rollnumber[50];//array index is nothing but position
printf("size of array = %d",sizeof(rollnumber));
return 0;
}
0 Comments