Question
Write a program to overload ‘-’ operator so that it return the different in length of two string (note: if s1 and s2 are two string then s1-s2or s2-s1 should given the difference in length of s1 and s2).
Answer :
Word Count : 56
____ ________ ____ ____ _______ __________ ____ ______ _____ ____ ______ _____.
_________ ___ _______ _______ __________.
____ ____ ____ ____ ______ ___ ____ _________.
_______ ____ ________ ______ ___ ______ _____.
____ ____ _________ _______ ________ ______ _____ ________ ____.
Skip in 10
#include<iostream.h>
#include<string.h>
#include<stdio.h>
#include<conio.h>
class substring
{
private:
char *p;
int ln;
public:
substring()
{
_________ ___ _______ _______ __________.
____ ____ ____ ____ ______ ___ ____ _________.
_______ ____ ________ ______ ___ ______ _____.
____ ____ _________ _______ ________ ______ _____ ________ ____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.