Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  o
Language: C/C++
Code:
#include <stdio.h>
int main()
   {
        int *p;
        int data[]={100,200,300,400,500};
        int nilai,max;
        p=&data[0];
        max=*p;
        for(nilai=0; nilai<=4;nilai++)
        {
        if(*(p+nilai)>max) max=*(p+nilai);
        else max=max;
        }
        printf ("Nilai maksimum adalah :%d\n");
        printf("\n");
        printf("Alison Munandar S 2015477011\n");
   }
          
Comments: