You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-09-16 05:12:03
C Language Arrays And Strings Program:
C Programming Quizzes C Language Arrays And Strings
Directions:
Which of the following is correct way to define the function fun() in the below program?
Question:
#include<stdio.h>
void main()
{
int a[3][4];
fun(a);
}
Option A):
void fun(int *p[3][4]){}
Option B):
void fun(int p[][4]){}
Option C):
void fun(int *p[][4]){}
Option D):
void fun(int *p[4]){}
Correct Answer is Option B):
void fun(int p[][4]){}
Failure is the first step towards seccess.
Offline
2015-09-16 05:12:03
- Advertisement
- Ads By Google
Re: C Language Arrays And Strings Program:
\n