Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?



Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?..

Answer / Rita Kumari

`&a[i][j][k][l]`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Explain explicit container.

1 Answers  


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

1 Answers  


Is it possible to use a new for the reallocation of pointers ?

1 Answers  


What is a far pointer? where we use it?

1 Answers  


There is a magic square matrix in such a way that sum of a column or a row are same like 3 5 2 4 3 3 3 2 5 sum of each column and row is 10. you have to check that matrix is magic matrix or not?

1 Answers   TCS,


How a new operator differs from the operator new?

1 Answers  


Why the usage of pointers in C++ is not recommended ?

1 Answers   TCS,


Using a smart pointer can we iterate through a container?

1 Answers  


What is the need of a destructor? Explain with the help of an example.

1 Answers  


In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.

5 Answers   GE,


Can a constructor throw a exception? How to handle the error when the constructor fails?

1 Answers  


Explain the concept of friend function in c++?

1 Answers  


Categories