Technical Interview Questions and Answers :: iGate
- Select All
- Java
- C++
- Oracle PLSQL
- WebMethod
- Informatica
- Operating System
- Networking
- SQL
- HR Question in TR
- DBMS
- Soft. Engineering
- C
- Data Structure
- Hadoop
- .NET
81 / 160
No Discussion on this question yet!
82 / 160
Pointer is a variable which are stored in the address of the another variable
83 / 160
No Discussion on this question yet!
84 / 160
a[i] is written as *(a+i)
a[i][j] is written as *(*(a+i)+j)
so
a[i][j][k][l]=*(*(*(*(a+i)+j)+k)+l)
85 / 160
No Discussion on this question yet!
86 / 160
No Discussion on this question yet!
87 / 160
No Discussion on this question yet!
88 / 160
i. These techniques can be used to invoke a function based on a string supplied by a user.
ii. To manipulate objects of unknown type through interfaces discovered through run-time type identification.
89 / 160
By definition, a node class is part of a class hierarchy. Not every class in a hierarchy needs to offer the same interface. In particular, a derived class can provide more member functions, and a sibling class can provide a completely different set of functions.
90 / 160
The simplest and most obvious way to specify an action in C++ is to write a function. If an action has to be delayed, it has to be transmitted elsewhere before being performed, it requires its own data that has to be combined with other actions etc.,
Then is often becomes attractive to provide the action in the form of a class that can execute the desired action and provide other services as well.