STL (140)
OOPS (873)
C++ General (2409) 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 4047Consider 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; }
2 56525. 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 5244What type of question are asked in GE code writing test based on c++ data structures and pointers?
3939The 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
1 3104
What are the important differences between c++ and java?
What is encapsulation in c++?
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.
Where and why do I have to put the "template" and "typename" keywords?
What character terminates all character array strings a) b) . c) END
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
What is the difference between member functions and static member functions?
How are virtual functions implemented in c++?
Explain the problem with overriding functions
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?
what Is DCS ? what i will get benefit when i did?
What parameter does the constructor to an ofstream object take?
How do you save a c++ program?
Name four predefined macros.
Why was c++ made?