767 views
0 votes
0 votes
#include <stdio.h>
int main()
{
    int a[] = {50, 60, 10, 30, 40, 20 };
    int *b[] = {a+3, a+4, a, a+2, a+1, a+5 };
    int **c = b;
    c++;
    printf("%u, %u, %u\n", c-b, *c - a, **c);
    return 0;
}

1 Answer

Related questions

0 votes
0 votes
1 answer
1
Desert_Warrior asked May 16, 2016
604 views
#include<stdio.h #include<stdlib.h int main() { char s[] = "Opendays2012"; int i = 0; while(*(s++)) i++; printf("%d",i); return 0; }(a) Segmentation Fault (b) Compile Err...
0 votes
0 votes
0 answers
2
1 votes
1 votes
1 answer
3
0 votes
0 votes
1 answer
4