Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



C++ Interview Questions
Questions Answers Views Company eMail


Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.

IBM,

13 22144

1)#include int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?

5 8112

Definition of class?

12 15791

What is your strongest programming language (Java, ASP, C, C++, VB, HTML,C#, etc.)?

Infosys, Microsoft, TCS,

24 45965

When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference?

Microsoft,

1 4168

How do you test your code?

Microsoft,

4 18030

Given a simple program designed to take inputs of integers from 1-1000 and to output the factorial value of that number, how would you test this program? You do not have access to the code. Please be as specific as possible.

Microsoft,

4 11007

How many bit combinations are there in a byte?

Intel, Microsoft,

13 48496

What are the total number of lines written by you in C/C++? What is the most complicated or valuable program written in C/C++?

Intel,

2 10142

What compiler was used?

Intel,

6 12176

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

Christ University, Intel,

20 86875

What is the Maximum Size that an Array can hold?

Adobe, FutureSoft, HCL, Infosys, Satyam, TCS, Wipro,

55 89598

Assume I have a linked list contains all of the alphabets from "A" to "Z?" I want to find the letter "Q" in the list, how does you perform the search to find the "Q?"

2 6750

Find the error in the following program struct point {struct point *next; int data; } x; main() {int...data; } x; main() {int i; for(x=p;x!=0;) x=x->next,x++; freelist(x); } freelist(x) {free(x); return }

Sun Microsystems,

1 5396


Un-Answered Questions { C++ }

What are the characteristics of friend functions?

1016


what are the characteristics of Class Members in C++?

1044


Why oops is important?

1122


What is a string example?

1092


What are the advantages of pointers?

1068


What is the main purpose of overloading operators?

1143


Is it possible for the objects to read and write themselves?

1116


Can you please explain the difference between overloading and overriding?

1108


What is the standard template library (stl)?

1785


What is solid in oops?

1130


Is turbo c++ free?

1078


Which is best ide for c++?

1014


What methods can be overridden in java?

1268


What is stream in oop?

1302


Difference between pointer to constant and constant pointer to a constant. Give example.

1125