Top Programming Languages Interview Questions :: ALLInterview.com http://www.allinterview.com Top Programming Languages Interview Questions en-us 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 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 difference between c and c++? http://www.allinterview.com/showanswers/69378.html =>c does not a class/object concept =>c++ provides data encapsulation,data abstraction,polymorphism. =>c++ support all c syntax =>in c passing value to a function is "call by value" where c++ its "call What is Agile methodology? http://www.allinterview.com/showanswers/35480.html it is used for software development, including XP (Extreme Programming), and it advocates iterator development 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); 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 What is the Maximum Size that an Array can hold? http://www.allinterview.com/showanswers/18006.html Infinity 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; } Difference between Overloading and Overriding? http://www.allinterview.com/showanswers/241.html Overloading - Two functions having same name and return type, but with different type and/or number of arguments. Overriding - When a function of base class is re-defined in the derived class. write the program for prime numbers? http://www.allinterview.com/showanswers/35346.html main() { int i,j=2,ch=0; clrscr(); printf("\nENTER ANY NUMBER"); scanf("%d",&i); while(j<=i/2) { if(i%j==0) { printf("%d IS NOT PRIME",i); what is object slicing? http://www.allinterview.com/showanswers/11050.html When an base class is assinged to its derived class the base class takes up only the base member data leaving the data members of derived class.this is called... 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 are Storage Classes in C ? http://www.allinterview.com/showanswers/220.html There are four type of storage classes in C. These are used to store variables. These are Extern, Static, Register and Auto. Auto is the default class assigned to any variable. eg. if we define int x=10; then it means auto int x=10 regis 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 data Abstraction? and give example http://www.allinterview.com/showanswers/66313.html data abstraction is a process of representing the essential features without including implementation details.