belongs to collection: C Programming Array\'s Multiple Choice Questions And Answers
Pick out the output
#include <stdio.h> int main() { foo(ary); } void foo(int **ary) { int i = 10, k = 10, j = 2; int *ary[2]; ary[0] = &i; ary[1] = &j; printf("%d\n", ary[0][1]); }
Correct Answer:
Undefined Behaviour
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Correct Answer:
Undefined Behaviour
need an explanation for this answer? contact us directly to get an explanation for this answer