Walkins Openings in India & Interview Questions

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


‘C++ Interview Questions’ - KyaPoocha.com

Can include files be nested? 

Yes. Include files can be nested any number of times. As long as you use precautionary measures , you can avoid including the same file twice. In the past, nesting... Read more »

When should a type cast be used? 

There are two situations in which to use a type cast. The first use is to change the type of an operand to an arithmetic operation so that the operation will be... Read more »

What is a null pointer? 

There are times when it’s necessary to have a pointer that doesn’t point to anything. The macro NULL, defined in , has a value that’s guaranteed to be different... Read more »

How can I convert a string to a number? 

The standard C library provides several functions for converting strings to numbers of all formats (integers, longs, floats, and so on) and vice versa. The following... Read more »

How can I convert a number to a string? 

The standard C library provides several functions for converting numbers of all formats (integers, longs, floats, and so on) to strings and vice versa The following... Read more »

Is it possible to execute code even after the program exits the main() function? 

The standard C library provides a function named atexit() that can be used to perform “cleanup” operations when your program terminates. You can set up a set... Read more »

How do you print an address? 

The safest way is to use printf() (or fprintf() or sprintf()) with the %P specification. That prints a void pointer (void*). Different compilers might print a pointer... Read more »

What is Preprocessor? 

The preprocessor is used to modify your program according to the preprocessor directives in your source code. Preprocessor directives (such as #define) give the... Read more »

How can you restore a redirected standard stream? 

The preceding example showed how you can redirect a standard stream from within your program. But what if later in your program you wanted to restore the standard... Read more »

What is the purpose of realloc( )? 

The function realloc(ptr,n) uses two arguments.the first argument ptr is a pointer to a block of memory for which the size is to be altered.The second argument n... Read more »

What is a const pointer? 

The access modifier keyword const is a promise the programmer makes to the compiler that the value of a variable will not be changed after it is initialized. The... Read more »

What is static memory allocation and dynamic memory allocation? 

Static memory allocation: The compiler allocates the required memory space for a declared variable.By using the address of operator,the reserved address is obtained... Read more »

When should a far pointer be used? 

Sometimes you can get away with using a small memory model in most of a given program. There might be just a few things that don’t fit in your small data and code... Read more »

Difference between arrays and pointers? 

Pointers are used to manipulate data using the address. Pointers use * operator to access the data pointed to by them Arrays use subscripted variables to access... Read more »

What are the advantages of the functions? 

Debugging is easier It is easier to understand the logic involved in the program Testing is easier Recursive call is possible Irrelevant details in the user point... Read more »

What is the difference between NULL and NUL? 

NULL is a macro defined in for the null pointer. NUL is the name of the first character in the ASCII character set. It corresponds to a zero value. There’s no... Read more »

Can math operations be performed on a void pointer? 

No. Pointer addition and subtraction are based on advancing the pointer by a number of elements. By definition, if you have a void pointer, you don’t know what... Read more »

Can the size of an array be declared at runtime? 

No. In an array declaration, the size must be known at compile time. You can’t specify a size that’s known only at runtime. For example, if i is a variable,... Read more »

What are wrapper classes? 

Wrapper classes are classes that allow primitive types to be accessed as objects.  Read more »

what is the difference between Procedural and OOPs? 

a) In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOPs program, unit of program is object,... Read more »

Page 5 of 11« First...«34567»...Last »
  • Subscribe

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


  • Walkins by Location


  • Walkins by Skills