Walkins Openings in India & Interview Questions

Walkins in Mumbai, Bangalore, Chennai, Delhi, Gurgaon, Pune


Latest Walkins-Interview

How do you find out if a linked-list has an end? (i.e. the list is not a cycle) 

You can find out by using 2 pointers. One of them goes 2 nodes each time. The second one goes at 1 nodes each time. If there is a cycle, the one that goes 2 nodes... Read more »

How can you tell what shell you are running on UNIX system? 

You can do the Echo $RANDOM. It will return a undefined variable if you are from the C-Shell, just a return prompt if you are from the Bourne shell, and a 5 digit... Read more »

What is pure virtual function? 

A class is made abstract by declaring one or more of its virtual functions to be pure. A pure virtual function is one with an initializer of = 0 in its declaration  Read more »

In C++, what is the difference between method overloading and method overriding? 

Overloading a method (or function) in C++ is the ability for functions of the same name to be defined as long as these methods have different signatures (different... Read more »

What methods can be overridden in Java? 

In C++ terminology, all public methods in Java are virtual. Therefore, all Java methods can be overwritten in subclasses except those that are declared final, static,... Read more »

In C, what is the difference between a static variable and global variable? 

A static variable declared outside of any function is accessible only to all the functions defined in the same file (as the static variable). However, a global variable... Read more »

In C, why is the void pointer useful? When would you use it? 

The void pointer is useful becuase it is a generic pointer that any pointer can be cast into and back again without loss of information.  Read more »

Explain the scope resolution operator. 

It permits a program to reference an identifier in the global scope that has been hidden by another identifier with the same name in the local scope.  Read more »

How many ways are there to initialize an int with a constant? 

Two. There are two formats for initializers in C++ as shown in the example that follows. The first format uses the traditional C notation. The second format uses... Read more »

What do you mean by virtual methods? 

Virtual Methods are used to use the polymorphisms feature in C++. Say class A is inherited from class B. If we declare say function f() as virtual in class B and... Read more »

What do you mean by multiple inheritance in C++ ? 

Multiple inheritance is a feature in C++ by which one class can be of different types. Say class teachingAssistant is inherited from two classes say teacher and... Read more »

How many ways can an argument be passed to a subroutine? 

An argument can be passed in two ways. They are Pass by Value and Passing by Reference. Passing by value: This method copies the value of an argument into the formal... Read more »

What is difference between overloading and overriding? 

a) In overloading, there is a relationship between methods available in the same class whereas in overriding, there is relationship between a superclass method and... Read more »

What is the difference between superclass and subclass? 

A super class is a class that is inherited whereas sub class is a class that does the inheriting.  Read more »

What is the difference between = and == in C? 

“=” is an assignment operator while, “==” is comparative operator a=b; //b’s value is stored in a if( a==b) // a’s value is compared with b  Read more »

Difference between printf and sprintf? 

sprintf: a function that puts together a string, output goes to an array of char instead of stdout printf: prints to stdout  Read more »

Difference between calloc and malloc? 

malloc: allocate n bytes calloc: allocate m times n bytes initialized to 0  Read more »

Difference between C structure and C++ structure? 

C++ places greater emphasis on type checking, compiler can diagnose every diff between C and C++ 1. structures are a way of storing many different values in variables... Read more »

What are inline functions? 

1. Treated like macro definitions by C++ compiler. 2. Meant to be used if there’s a need to repetitively execute a small block if code which is smaller. 3. Always... Read more »

What is Constructor ? How it is called ? 

Constructor is a member function of the class, with the name of the function being the same as the class name. It also specifies how the object should be initialized.Ways... Read more »

Page 198 of 215« First...«196197198199200»...Last »
  • Subscribe

      Get Latest Walkins in your INBOX, enter your email address:


  • Walkins by Location


  • Walkins by Skills