Write a program to illustrate the single dimension array. oneloops 22:43 LAB PROGRAMS, QUESTION WITH ANSWER, STUDY MATERIALS int main() { int number[]= {1,2,3,4,5} int i; printf(“array elements are \n”); for(i=0; i<=4 ;i++) printf(“%d\n”,numbers[i]); getch(); } Share : Tweet ✚ Related Post PROGRAM USING INTRINSIC CONTROL USING VISUAL BASIC PROGRAM Private Sub Dir1_Change() File1.FileName = Dir1.Path End Sub Private Sub Drive1_ChangLOGIN FORM USING MFC APPLICATION WIZARD USING VISUAL BASIC Program Void clogin form :: onButton1() Update date(true); If(m-txtuser=”cse”&&m_txtpWhat does it mean by the term String and give its syntax. String is a characterDefine the term Array and list types of arrays? Define: Array is the list of items of the same data type. Types: One dimensional array TwoWrite a different between compile time and run time. compile time: int number[3]={0,0,0}; &nbADVANCE COMPUTER PROGRAMMING
0 Comment "Write a program to illustrate the single dimension array."
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.