Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
C++ Primer
by
Stanley B.Lippman, Josee Lajoie, Barbara E.Moo
Edition:
5th Edition
ISBN13:
978-0-321-71411-4
ISBN10:
0 -321-71411-3
591
C++ programming
Home
Books
C++ Primer
Similar Books
No books found
Title
Chapter: 3 /
Q: 3.33
What would happen if we did not initialize the scores array in the program on page 116
Chapter: 3 /
Q: 3.34
Given that p1 and p2 point to elements in the same array, what does the following code do? Are there values of p1 or p2 that make this code illegal
Chapter: 3 /
Q: 3.35
Using pointers, write a program to set the elements in an array to zero
Chapter: 3 /
Q: 3.36
Write a program to compare two arrays for equality. Write a similar program to compare two vectors
Chapter: 3 /
Q: 3.37
What does the following program do?
Chapter: 3 /
Q: 3.38
In this section, we noted that it was not only illegal but meaningless to try to add two pointers. Why would adding two pointers be meaningless
Chapter: 3 /
Q: 3.39
Write a program to compare two strings. Now write a program to compare the values of two C-style character strings
Chapter: 3 /
Q: 3.40
Write a program to define two character arrays initialized from string literals. Now define a third character array to hold the concatenation of the two arrays. Use strcpy and strcat to copy the two arrays into the third
Chapter: 3 /
Q: 3.41
Write a program to initialize a vector from an array of ints
Chapter: 3 /
Q: 3.42
Write a program to copy a vector of ints into an array of ints
total questions:
591
Previous
17
18
19
20
21
Next
Questions
591
Views
Best Answers
299
Points
5
×
Close
add reason
reason