1 :
diffPointer=&diff;
2 :
*strikeCounter+=22;
3 :
int temp;
temp = *xp;
*xp = *yp;
*yp = temp;
4 :
ip = &enrollment[19];
5 :
*ip + *(ip+1) + *(ip+2)
6 :
tp=ip;
ip=jp;
jp=tp;
7 :
tripleIt(&penalty);
8 :
void minMax(int a, int b, int c, int *big, int *small)
{
*big = *small = a;
if (b < *small)
*small = b;
if (c < *small)
*small = c;
if (b>*big)
*big = b;
if (c>*big)
*big = c;
}
9 :
for(int i = 0; i < 26; i++)
{
cp_arr[i] = new char;
*(cp_arr[i]) = (char)(65 + i);
}
11 :
int **ip_arr = new int *[100];
for(int i = 0; i < 100; i++)
{
ip_arr[i] = new int(-1);
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.