1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kondor19780726 [428]
3 years ago
14

To open a file with a user supplied name, you would need to store the name in a variable. If the file name was to have no more t

han 20 characters in it, which would be an appropriate declaration of the file name variable?
a. char filename;
b. char filename(20);
c. char filename[20];
d. char filename[21];
Computers and Technology
1 answer:
Maurinko [17]3 years ago
7 0

Answer: C: char filename[20];

Explanation:

In c++ the squre brackets or simply brackets "[]" is used to denote memory allocation, memory access and so on,

You might be interested in
You need to update your router settings, so you log into the administration panel, Whose Internet protocol (IP) address is 192.1
devlian [24]

Answer:

D

Explanation:

5 0
3 years ago
Is Bluetooth considered a computing innovation?
Scilla [17]

Answer:

yes it is becauuse through bluetooth i can play cod mobile on my phone wiith my ps4 controller

Explanation:

A Bluetooth device works by using radio waves instead of wires or cables to connect with your cell phone, smartphone or computer. Bluetooth is a wireless short-range communications technology standard found in millions of products we use every day – including headsets, smartphones, laptops and portable speakers.

8 0
3 years ago
1) These are operators that add and subtract one from their operands. A) plus and minusB) ++ and --C) binary and unaryD) conditi
GREYUIT [131]

Answer:

1) B: ++ and --

2) B: 111... and on forever

Explanation:

++ and -- in most programming languages are used for incrementing(adding) by 1 or decrementing(substracting) by 1.

The code will output 111... and on forever because the while loop was not covered in curly braces.

5 0
3 years ago
Which is many many years of vot in nepal.​
Butoxors [25]

Answer:

18 yrs

Explanation:

3 0
3 years ago
Which type of security threat installs to a computer without the user's knowledge and then monitors all computer activity?
STatiana [176]
That would be what is known as Spyware, a common form of this is known as a "Trojan Horse". This type of malware is typically latched on and hidden within files, such as when downloading a pirated version of a song, game, art-work, etc...
3 0
3 years ago
Read 2 more answers
Other questions:
  • Anyone wanna join a supercar/hypercar enthusiast's club?
    10·1 answer
  • What is an identifier? Give an example of an identifier.
    13·1 answer
  • Select the instances in which you should include a comma.
    13·1 answer
  • How can I make a video game?
    8·2 answers
  • Write a function shampoo_instructions() with parameter num_cycles. If num_cycles is less than 1, print "Too few.". If more than
    9·1 answer
  • You should always assign the Needs Met rating before assigning the Page Quality rating, T or F ?
    6·2 answers
  • What is the purpose of a report?
    6·2 answers
  • Which of the following is NOT an example of application software?
    8·1 answer
  • Select the correct answer.
    11·2 answers
  • I hs no life hahahaha
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!