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 4113Consider 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 57435. 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 5319What type of question are asked in GE code writing test based on c++ data structures and pointers?
3980The 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 3177
What is an adaptor class or wrapper class in c++?
What is the prototype of printf function?
Who invented oop?
Why can templates only be implemented in the header file?
what is the use of void main() in C++ language?
Which of the following is evaluated first: a) && b) || c) !
What are pass by value and pass by reference?what is the disadvantage of pass by value?
What is the this pointer?
What is polymorphism and its types?
What is the use of function pointer?
What are the syntactic rules to be avoid ambiguity in multiple inheritance?
Is c++ free?
How does an stl file work?
Where the memory to the static variables is allocated?
What is endl c++?