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).

18 Oct 2017
Answer :
Word Count : 56

#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
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU BCS 31 2016 - Write a program to overload ‘-’ operator so that it return | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→