04-24-2011, 05:46 PM
Dear Student,
To understand this problem, you need to be familiar with different data types of C/C++. Since your query is a part of your assignment so therefore it will not be entertained but one hint I can give you is to use a data type which can accept character string. I suggest you to make a search in your handouts and over the internet about the hint I have provided you and try to find out which data type is most suitable to strong character strings.
Hopefully, you will get the answer.
To understand this problem, you need to be familiar with different data types of C/C++. Since your query is a part of your assignment so therefore it will not be entertained but one hint I can give you is to use a data type which can accept character string. I suggest you to make a search in your handouts and over the internet about the hint I have provided you and try to find out which data type is most suitable to strong character strings.
Hopefully, you will get the answer.
