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 22152

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 8114

Definition of class?

12 15799

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

Infosys, Microsoft, TCS,

24 45991

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 4169

How do you test your code?

Microsoft,

4 18031

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 11009

How many bit combinations are there in a byte?

Intel, Microsoft,

13 48501

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 10146

What compiler was used?

Intel,

6 12180

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

Christ University, Intel,

20 86889

What is the Maximum Size that an Array can hold?

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

55 89635

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 5398


Un-Answered Questions { C++ }

What is token c++?

1028


What type of loop is a for loop?

1091


How do I make turbo c++ full screen?

1070


Can we run c program in turbo c++?

1084


What is a float in c++?

987


What is the best book for c++ beginners?

1047


If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

1211


List the types of polymorphism in c++?

1106


what are the iterator and generic algorithms.

1942


What is a map in c++?

1214


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

1164


What is the difference between an ARRAY and a LIST in C++?

1509


What is encapsulation process?

1052


To what does “event-driven” refer?

1060


Define stl.

1269