Question

Given the declaration char letter[3][3] = { {a, b, c}, {d, e,f}, {g, h, i} }; which character is stored in

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Ans: NO such letter[3][2] index

here we have letter[3][3] char array so, the indices ranges from 0 to 2 only

It means we have 0th row ,1st row and 2nd row , and for each row we have 0th element ,1st element and 2nd element only .

so, acessing letter[3][2] prints nothing

main.cpp 1 #include <iostream> 2 using namespace std; 3 4 int main() 5-{ 6 char letter[3][3]={ 7 {a,b, c}, 8 {d, e,

Add a comment
Know the answer?
Add Answer to:
Given the declaration char letter[3][3] = { {'a', 'b', 'c'}, {'d', 'e','f'}, {'g', 'h', 'i'} };...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • why is this wrong for vectors vector<char> decrypt{ {'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I',...

    why is this wrong for vectors vector<char> decrypt{ {'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A'}, {'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B'}, }; for(int...

  • 2. Given that, for some a, b, c, d, e, f, g, h, i E evaluate...

    2. Given that, for some a, b, c, d, e, f, g, h, i E evaluate the following determinants: (a) 13 points (b) (3 points (c) [4 pointe b h e 5b 5c 5a 9 2a 2b 2c

  • Given a chromosome with the gene order, A B C D ∙ E F G H,...

    Given a chromosome with the gene order, A B C D ∙ E F G H, and an inverted chromosome with this gene order, A F E ∙ D C B G H, which of the following recombinant chromosomes would result from a crossover between C and D? A) A B C C B G H and H G F E ∙ D C B G H B) A B C D ∙ E F A and H ∙ G...

  •       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.     ...

          -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.       N.       O.    Telecommuting       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.       N.       O.    Change       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.       N.       O.    Job Sharing       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.       N.       O.    Job Redesign       -       A.       B.       C.       D.       E.       F.       G.       H.       I.      ...

  • Given R = (A, B, C, D, E, G, H, I) and the set F of...

    Given R = (A, B, C, D, E, G, H, I) and the set F of functional dependencies: BDEI → GH EG → AI DH → CE I → BD use the BCNF algorithm to generate a database design. Is your design dependency-preserving? Why or why not?

  • 4. R(A, B, C, D, E, F, G, H, I, J) where A → B, C,...

    4. R(A, B, C, D, E, F, G, H, I, J) where A → B, C, D BE F→ G, H, I (A, F) → B, C, D, E, G, H, I, J For each of the following relations, normalize it into a set of BCNF relations.

  • 9. (4.5 pts) Label A, B, C, D, E, G H I What are the letter...

    9. (4.5 pts) Label A, B, C, D, E, G H I What are the letter in the most left anticodon? ON AA AU C 5' TTTTTT דדוווי{ מטטש)

  • Given the directed graph with vertices(A, B, C, D, E, F, G, H, I) Edges (AB=5,...

    Given the directed graph with vertices(A, B, C, D, E, F, G, H, I) Edges (AB=5, BF = 4, AC = 7, CD=3, EC = 4, DE = 5, EH = 2, HI = 4, GH = 10, GF = 3, IG = 3, BE = 2, HD= 7, EG= 9 1. What is the length of minimum spaning tree? 2. Which edges will not be included if we use Kruskal's algorithm to find minimum spaning tree?

  • A chromosome with genetic markers A, B, C, D, E, F, G, H, I and J...

    A chromosome with genetic markers A, B, C, D, E, F, G, H, I and J ( “*” represents the centromere ) is shown below: A B C D E * F G H I J Another chromosome is found to contain a b c d i h g f * e j If these two chromosomes are paired during meiosis, a single crossover takes place between F and G, and another single crossover takes place between H and I....

  • Н NH2 OCH, A 00 с D E H H OH OCH, Z-I I F G...

    Н NH2 OCH, A 00 с D E H H OH OCH, Z-I I F G H Enter the letter of the correct structure for each name given below. 1. propyl formate 2. propanamide 3. acetone 4. acetic acid

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT