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
irakobra [83]
3 years ago
6

. Which of the following is NOT a valid declaration for a character string?

Computers and Technology
1 answer:
melomori [17]3 years ago
4 0

Answer:

a) char string1[3] = {“1”, “2”, ‘3’, 4}

Explanation:

From the given options the option a is not a valid declaration.

We are declaring an array of characters string1 also known as c string.Whose size is 3.So it can only hold 3 characters and the third character should be Null(\0) character and we are providing it 4 elements from which 2 of them are strings,one is character and an integer 4.

You might be interested in
Which of the following strategies will help you to stay focused and on topic while writing your essay?
AveGali [126]

Answer:

the answer is D,both A and B

8 0
3 years ago
Read 2 more answers
Write a SELECT statement that returns the same result set as this SELECT statement. Substitute a subquery in a WHERE clause for
AleksAgata [21]

Answer:

SELECT DISTINCT VendorName FROM Vendors

WHERE VendorName= ANY (SELECT VendorName FROM Vendors JOIN Invoices ON Vendors.VendorID = Invoices.VendorID) ORDER BY VendorName;

Explanation:

All bold faced words are sql keywords for different purposes. The subquery return the all values which matches the join condition  and main query will choose only distinct values and make them in order of VendorName.

There many other queries also return the same result as returned by given query.

8 0
3 years ago
What is communication​
IgorLugansk [536]

Answer:

it is when u talk to someone

6 0
3 years ago
Read 2 more answers
You can use ____ arguments to initialize field values, but you can also use arguments for any other purpose.
Fofino [41]
B.constructor I think that’s the answer
7 0
3 years ago
What is the purpose of including a section in a presentation?
lesya [120]

Answer:

To organize and name groups of slides

Explanation:

Edg 2021

8 0
3 years ago
Other questions:
  • To determine why a computer program started to function differently, Mel should most likely use data to
    5·2 answers
  • The piston engine uses the ________ to convert the reciprocating motion of the piston into rotary motion.
    13·1 answer
  • This LEGENDARY character made a much-celebrated comeback in 2017. What was the name of the villain he faced in this epic tale?
    7·2 answers
  • What stage of software development incorporates planning to help make changes in the project plan based of reviews
    12·1 answer
  • What feature of Windows Server allows for agentless authentication?
    7·1 answer
  • CIST 1122 Project 2 Instructions
    11·1 answer
  • Assignment 1: silly sentences edhesive
    7·1 answer
  • The factorial of n is equal to ______.
    9·1 answer
  • Name at least 3 different portable computer devices that can be purchased
    15·2 answers
  • Can anyone tell me what's wrong with my pc. When I turn it on it lights up the ram, motherboard, and fans. The cooler and case f
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!