55.6k views
0 votes
Which of the following lines must be included in a program that has string variables?

1. Binclude (string class) 0 #
2. inclode string
3. string var:
4. None of these 0 # include namespace std:

User Juned
by
4.4k points

1 Answer

5 votes

Answer:

2. #include string

Step-by-step explanation:

C language is a high level language in programming which marks the basics of program language syntax. There are different data types in C, they are string, integers, float, double float, boolean etc.

For a data type to be compiled, a library of that data type must be installed. An example is the string data type, the "# include string" library must be installed for compiling.

User Oran
by
4.4k points