Programming Language Array in C Language Question #1430
Single Choice Not Set

QWhich of the following is correct way to define the function fun() in the below program?

#include<stdio.h>
void main()
{
    int a[3][4];
    fun(a);
}

ID: #1430 Array in C Language 734 views
Question Info
#1430Q ID
Not SetDifficulty
Array in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A void fun(int p[][4]){}
  • B void fun(int *p[4]){}
  • C void fun(int *p[][4]){}
  • D void fun(int *p[3][4]){}
Correct Answer

Explanation

void fun(int p[][4]){}

Share This Question

Challenge a friend or share with your study group.