Skip to content

Latest commit

 

History

History
49 lines (26 loc) · 918 Bytes

SESSIONS 10(STRUCTURE POINTERS AND ARRAY OF POINTERS).md

File metadata and controls

49 lines (26 loc) · 918 Bytes

**1). Large

  int main()
  {
    //*maximum =*array;
    int a[10], Size, i, Largest, Position;
    scanf("%d",&Size);
    for(i=0; i<Size; i++)
    {
      scanf("%d",&a[i]);
    }
    Largest = a[0];
    for(i=1; i<Size; i++)
    {
      if(Largest<a[i])
      {
        Largest=a[i];
        Position = i;
      } 
   }
    printf("%d", Largest);
    return 0;
  }

THERE IS ONLY ONE PROGRAM I GOT IN SESSION 10 I U HAVE JUST DM ME BY IN INSTA

c3f00731-48f4-44ef-8970-8050b7cf44e0

eeee

vijay