Does c++ have string data type?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Comment on assignment operator in c++.

0 Answers  


How can a '::' operator be used as unary operator?

1 Answers  


What are the basics of local (auto) objects?

0 Answers  


What do you mean by delegate? Can a user retain delegates?

0 Answers  


What are the advantages of using pointers in a program?

0 Answers  






How can you link a c program with a c function?

0 Answers  


Define stacks. Provide an example where they are useful.

0 Answers  


this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; }

1 Answers  


Difference between overloading vs. Overriding

0 Answers  


Is set c++?

0 Answers  


What are vectors used for in c++?

0 Answers  


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 Answers  


Categories