954,504 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Pls help.I have To Implent Biggest function to find biggest element in that array!

#include
#define SIZE 16
int* biggest(int *a, int count);
int main(void)
{
int values[16] = { 47, 17, 38, 91, 33, 24, 99, 35, 42, 10, 11, 43, 32, 97, 108, -8 };
int *p;
p = biggest(values, SIZE);
printf("the biggest element in the array is %i\n",
*p);
return 0;
}
int* biggest(int *a, int count)
{

Boudou
Newbie Poster
11 posts since Oct 2008
Reputation Points: 0
Solved Threads: 0
 
#include #define SIZE 16 int* biggest(int *a, int count); int main(void) { int values[16] = { 47, 17, 38, 91, 33, 24, 99, 35, 42, 10, 11, 43, 32, 97, 108, -8 }; int *p; p = biggest(values, SIZE); printf("the biggest element in the array is %i\n", *p); return 0; } int* biggest(int *a, int count) {

One, what's the question? Two, is this C or C++? Three, format your code and use code tags:
[code]
// paste code here
[/code]

VernonDozier
Posting Expert
5,527 posts since Jan 2008
Reputation Points: 2,633
Solved Threads: 711
 

That's the fifth time you've been asked to use code tags. I'm not going to help you anymore. I explained their syntax 4 times!

skatamatic
Posting Shark
959 posts since Nov 2007
Reputation Points: 403
Solved Threads: 129
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You