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 4200Consider 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 58385. 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 5415What type of question are asked in GE code writing test based on c++ data structures and pointers?
4035The 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 3263
What is a dangling pointer in c++?
Can we distribute function templates and class templates in object libraries?
How new/delete differs from malloc()/free?
What is extern c++?
Explain what happens when an exception is thrown in C++.
How to input string in C++
Is c++ vector a linked list?
What is c strings syntax?
Is set c++?
Describe protected access specifiers?
What is vector pair in c++?
What do you mean by function and operator overloading in c++?
What does catch(…) mean?
What is virtual destructor? What is its use?
Question on Copy constructor.