User profile: asxxx

User info
User name:asxxx
History
Joined:
Number of posts:9
Latest posts:

Max element in array
[code] array input(random numbers) for example T[10] int *f=&t[0]; // first element of array...

Max element in array
I initalize f as pointer of first element in array and g is pointer of last element in aray.

Max element in array
[code]*w=*g; while(f<=w) { int temp=*f; *f=*g; *g=temp; f++; g--; }[...

Max element in array
[code] while(f<=g) { int temp=*f; *f=*g; *g=temp; f++; g--; cout<<*...

Max element in array
I did max element now I have to modify my array in way : first element go to last second to the prev...

This user does not accept Private Messages

User: asxxx

  • Public profile