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

Badboy is defined who has ALL the following properties: 1. Does not have a girlfriend and is not married. 2. He is not more than 23 years old. 3. The middle name should be "Singh" 4. The last name should have more than 4 characters. 5. The character 'a' should appear in the last name at least two times. 6. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

1 4047

Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3

Accenture, Cognizant, IBM,

3 6560

what is c++

2331

Array base access faster or pointer base access is faster?

2262

Which of the following operator cannot be overloaded?

TCL,

2 4979

Consider the following code fragment: int main(void) { int m = 4; mystery ( m ); mystery ( m ); printf("%d", m); return 0; } What is the output on the monitor if mystery is defined as follows ? void mystery (int m) { m = m+3; }

CDAC, Wipro,

2 5652

Write a program to calculate the BMI of a person using the formula BMI = weight/height2.

2 13463

give me some class & objects examples?

1 3662

5. Write c++ function that would intake a string and return the number of occurrences of a given character in that sring Ex:- if the word is “Colombo” and count the occurrences of the letter “o” the function would return 3

1 5244

what is the C++

Wipro,

1 3868

1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

2 13672

What type of question are asked in GE code writing test based on c++ data structures and pointers?

3939

which is platform independent device used in computers

2 4150

give me the defination of inheritance?

Infosys,

5 9546

The company is a fake company asking for money of RS10000 while training and not offering a job after training. My humble request to you people not to attend Astersys interview

Astersys,

1 3104


Un-Answered Questions { C++ }

What are the important differences between c++ and java?

1108


What is encapsulation in c++?

1233


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

2207


Where and why do I have to put the "template" and "typename" keywords?

993


What character terminates all character array strings a) b) . c) END

1227


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

1036


What is the difference between member functions and static member functions?

1057


How are virtual functions implemented in c++?

1034


Explain the problem with overriding functions

1114


There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?

955


what Is DCS ? what i will get benefit when i did?

2321


What parameter does the constructor to an ofstream object take?

1025


How do you save a c++ program?

1000


Name four predefined macros.

1009


Why was c++ made?

1053