Header Ads Widget

Ticker

6/recent/ticker-posts

COMPUTER ENGINEERING GAYN

 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;

}


                  output-


                            

Post a Comment

0 Comments