What is the output?
int main() {
int a[10][10] = {{1,2,},{3,4},{5,6},{7,8},{9,10}};
int *p = a[3];
int result

What is the output?
int main() {
int a[10][10] = {{1,2,},{3,4},{5,6},{7,8},{9,10}};
int *p = a[3];
int result = a[2][1]+(*p–)+(++*p)+(*p+13);
printf(“%d”,result);
return 0;
}​

About the author
Kylie

1 thought on “What is the output?<br />int main() {<br />int a[10][10] = {{1,2,},{3,4},{5,6},{7,8},{9,10}};<br />int *p = a[3];<br />int result”

Leave a Comment