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 4120Consider 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 57455. 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 5323What type of question are asked in GE code writing test based on c++ data structures and pointers?
3986The 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 3179
What is name hiding in c++?
Explain overriding.
What is a class and object?
Is c++ vector dynamic?
Is c++ proprietary?
What is an inclusion guard?
How do I use turbo c++?
Why do we use inheritance?
Write about the use of the virtual destructor?
What are compilers in c++?
What is setiosflags c++?
What is polymorphism in c++? Explain with an example?
What is wrapper class in c++?
what is friend function in C++?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?