The sizeof operator calculates the number of bytes of storage the compiler allocates to the operand.
Fix any compilation errors and make it run.
Is the sizeof operator static or dynamic?
Deliverable: you should prepare a new page for your growing WWW site that has two or three paragraphs explaining what you have learned about C++ data types. Answer each question in a paragraph that includes an explanation! The page should include a link to the source code for the final version of the program that you use. Graphics are not needed. The whole page should be linked to the growing list of laboratory pages on your index/home page.
Deadline: I will be assigning grades at the end of the lab
depending on how much of the deliverables are complete
and correct. I will checking that your paragraphs have no
gross spelling mistakes and that they say something true and
interesting about C++.
If you have time -- Pointers
You can compile it and run it, but can you explain why
it does what it does?
[ horror.c ]
Why Learn about Pointers?
Hello Dr. Concepcion,
I just had an personal interview with XXXX. Everything went well. Yyyy
was much easier to talk to in person. I did the test well (one of the
The test was mainly pointers. Thanks to Dr Botting, he trained me good
with pointer in csci320.
There was one 6-part question that I scored 5 out of 6. They said no one
ever get them all right.
The test format was extremely unusual. It asked "what would happen if
.." and doesn't give you a clue what
they expect the format of the answers would be.
Check the next class
[ ../08.html ]