#include <stdio.h>
int a;
int *b;
int **c;
int ***d;
int ****e;
// * is the "value of operator"
// * is also called the dereferencing // operator
int main(void) {
a = 25;
b = &a; // & is the "address of operator" c = &b;
d = &c;
e = &d;
printf("\n\n%d %d %d\n\n",*(&a),*b+**c, ***d*****e);
return 0;
}
當我運行它說分段錯誤:11我該如何解決它,它是什麼意思?C編程分段錯誤:11
您已將'c =&b;'作爲註釋錯誤。 – Himanshu 2015-04-02 10:26:00
@Himanshu不,這是OP案例中的__actual__錯誤。 – 2015-04-02 10:27:34
http://ideone.com/tmLN3x – Gopi 2015-04-02 10:28:15