Top Programming Languages Interview Questions :: ALLInterview.com http://www.allinterview.com Top Programming Languages Interview Questions en-us What are the OOPS concepts? http://www.allinterview.com/showanswers/4881.html 1) Encapsulation: It is the mechanism that binds together code and data in manipulates, and keeps both safe from outside interference and misuse. In short it isolates a particular code and data from all other codes and data. A well-defined in what is the main difference between c and c++? http://www.allinterview.com/showanswers/33052.html c is not object oriented but c++ is object oriented How to reverse a string using a recursive function, without swapping http://www.allinterview.com/showanswers/16431.html /* Following code does as intended */ #include <stdio.h> #define REVERSE_STRING(X) Rstring(X, *(X), strlen(X)-1) void Rstring( char *str, char c, int index ) { if( index != 0 ) Rstring( str, *(str+(strlen(str))-index), index-1); What is the Maximum Size that an Array can hold? http://www.allinterview.com/showanswers/18006.html Infinity How to convert a CString variable to char* or LPTSTR? http://www.allinterview.com/showanswers/16195.html GetBuffer Tell us something about MFC? http://www.allinterview.com/showanswers/18177.html MFC is the C++ class library Microsoft provides to place an object-oriented wrapper around the Windows API. Name an advantage of array over linked list? http://www.allinterview.com/showanswers/16892.html Array size is fixed.But Linked is not fixed What is the difference between Extension DLL and Regular DLL? http://www.allinterview.com/showanswers/32234.html An extension dll can be used in the same language as it is written (for example C++ in combination with MFC). This means it is easier to create them, and you can even export whole classes from these dll's. A regular dll is a dll that ca write a program to swap Two numbers without using temp variable. http://www.allinterview.com/showanswers/56404.html void swap(int *a,int *b) { if(*a == *b) return; *a^=*b; *b^=*a; *a^=*b; } what is virtual function? http://www.allinterview.com/showanswers/28187.html The virtual keyword means that method,property or function can be overridden Tell us about yourself. http://www.allinterview.com/showanswers/16896.html Hi I am Rajagopal. I have done my M.A English Literature. I have ample amount of computer knowledge bound with good communication skills. I have good typing skills too. Well coming to my experience I have experienced as a copy editor in an e give one ip, find out which contry http://www.allinterview.com/showanswers/23039.html You can use simple ASP script to lookup country code/name from any ip addresses What is OOPS and How it is different from Procedural Programming ? http://www.allinterview.com/showanswers/233.html OOPS means Object Oriented Programming Languages and Systems and is different from the Structural programming in the fact that in OOPS programming you take advantage of Polymorphism, Multiple inheritance and Abstraction and Encapsulation of t What is the difference between and interface and an abstract class ? http://www.allinterview.com/showanswers/16635.html What is an Interface? An interface is a contract, a specification that concrete classes MUST follow. It defines method signatures but cannot have any implementations; the latter must be provided by the classes that implement the interface. what is message loop how mfc does it internally? http://www.allinterview.com/showanswers/29044.html The windows application enters the message loop within Winmain to process various windows messages the OS posts to a message queue.The message loop, "Loops" until its receives a WM_QUIT message. It uses GetMessage and PeekMessage to