1. What are the differences between malloc() and calloc()?

What are macros? what are its advantages and disadvantages?

Both malloc and calloc are used for allocating memory dynamically.But the difference is,in malloc elements are not initialised and hence holding garbage values where as in calloc the elements are get initialised.

Macros are used for speed up the process.The disadvantage is they are not having type_check phenomenon.

2. What type of questions asked in campus interview?

During Technical interview 85% of the questions asked in campus interviews are basic questions related to your subject(Specialization), rest may
be some difficult.

3. Explain the full form of ILU?

Inter-Language Unification: Inter-Language Unification or ILU is a method for computer systems to exchange data.

4. What is ILU?

One full form of ILU is Inter-Language Unification system.

5. What is <graphics.h> library in C?

In the TurboC++ editor, goto menu :
Options->Linker->Libraries and check the 'Graphics library' option.
Usually it is unchecked.

6. Explain LPCTSTR? What does LP denote it?

LPCTSTR denotes "Long Pointer Const to String". Declaration can be written as const long* str[];LP denotes Long Pointer.

LPCTSTR = Long Pointer to a Const TCHAR String

LPCTSTR = const char* or const wchar_t* depending on _UNICODE


7. Explain a dangling pointer?

Those pointers which pointing to a memory block which is no more exist in the memory. for example Suppose two pointers are pointing to the same memory location and memory is freed using firstpointer variable but second pointer is still pointing to the same memory location. the second pointer is a dangling pointer.

8. Explain process of creating a DASHBOARD in Microstrategy?

explain your ideas abouth the process of creating a DASHBOARD in Microstrategy

9. Explain How to convert decimal to binary and its formula?

Its very simple ,just divide the decimal number by 2 and note down the remainder(which will be either 1 or 0) ,then again divide the quotient obtained in the first step and note down the remainder..........repeat the step till u get 0 as quotient n write the remainders in reverse order that means the last step remainder will b e the leftmost digit of the binary equivalent of given decimal number.

10. Explain Which is the most powerful programing language and why?

Java is a good programming language because it is a platform independent programming language.it use BYTE code.it also use graphics.provide encapsulation.

Download Interview PDF