How is a two dimensional array passed to function when the
order of matrix is not known at complie time?



How is a two dimensional array passed to function when the order of matrix is not known at compli..

Answer / mr.a

jus pass the name of array.....to a function as it was
getting into a pointer....

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }

1 Answers   Wipro,


How can I read and write comma-delimited text?

0 Answers  


What are the concepts introduced in OOPs?

3 Answers  


will the program compile? int i; scanf(“%d”,i); printf(“%d”,i);

3 Answers  


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

0 Answers  


how to swap 2 numbers in a single statement?

3 Answers  


Explain how can you restore a redirected standard stream?

0 Answers  


Is c is a procedural language?

0 Answers  


write a program in reverse the string without using pointer,array,global variable declaration,lib fun only using a function?

5 Answers   HCL,


What is the difference between pure virtual function and virtual function?

0 Answers  


1 1 2 1 2 3 1 2 3 4 1 2 3 1 2 1 generate this output using for loop

2 Answers  


What is the difference between a free-standing and a hosted environment?

0 Answers   Aspire,


Categories