WAP for array initialization
#include<stdio.h>
#include<conio.h>
void main( )
{
clrscr( );
//Array declaration and initialization
int marks[ ]={50,60,70,80,90},i;
printf("\nMarks of 5 students are : \n");
for(i=0;i<5;i++)
printf("%d\t",marks[i]);
getch( );
}
We don’t do that here !
2 Likes
So, Indian Colleges are still giving Turbo C assignments?
2 Likes
This is a site for competitive programming not homework made easy😂 still since you’re here, what’s your doubt in this?