void func1(int (*a)[10])
{
printf("Ok it works");
}
void func2(int a[][10])
{
printf("Will this work?");
}
main()
{
int a[10][10];
func1(a);
func2(a);
}
a. “Ok it works”
b. “Will this work?”
c. “Ok it works Will this work?”
d. None of the above
Answer : C
printf("Ok it works");
}
void func2(int a[][10])
{
printf("Will this work?");
}
main()
{
int a[10][10];
func1(a);
func2(a);
}
a. “Ok it works”
b. “Will this work?”
c. “Ok it works Will this work?”
d. None of the above
Answer : C
No comments:
Post a Comment