IBM
Company
Programming
Program
What does the following statement mean?
int (*a)[4]
Read Solution (Total 4)
-
- int (*a)[4] means that 'a' is pointer to an array of 4 integers.
- 8 years agoHelpfull: Yes(13) No(1)
- Array of pointers
- 8 years agoHelpfull: Yes(2) No(2)
- a is a pointer to two dimensional array which is having column of size 4.
- 7 years agoHelpfull: Yes(0) No(1)
- Java program for array is asked?
Or this are technical round questions? - 7 years agoHelpfull: Yes(0) No(0)
IBM Other Question
Best method to find out whether a given array already sorted,is sorted or not in minute time
1.30.5,31,30,0,67.2,67,70,100,183.7,?
2.11,8,17,14,23,24,31,32,?
3.-12,6,-15,-5,28,-14,9,3,-18,?
4.340,680,1428,?
5.-27,9,-3,81,-27,9,54,?
6.18,6,24,4,30,10,12,2,6
7.1/5,1/2,1/3,2/5,1,2/3,3/5,1,3/2,1,4/5,?
8.42,78,89,68,49,61,39,63,76,?
9.1,2,2,4,8,1,8,1/2,4,1,1,4,4,?
10.-16,-8,4,24,12,-6,-40,?
11.4,3,6,5,11,10,19,18,30,29,?
12.3,4.5,7,4,6,8.5,5,7.5,10,6