CSCI 10 Lecture Notes - Lecture 14: Grace Hopper, Null Character, C String Handling

44 views2 pages

Document Summary

When you(cid:495)re trying to understand things, it(cid:495)s better to use int as data type. Array functions always have to take in the array variable and its size and change later when necessary variable. Enlisted in the navy during ww2, rising to rear admiral. Created the first compiler (a special program) programming and compiling on the same computer. Helped create cobol: first high level pl. Ascii is a code for representing english characters as numbers, with each letter assigned a number from 0 to 127. For example, the ascii code for uppercase m is 77. Most computers use ascii codes to represent text, which makes it possible to transfer datafrom one computer to another. A = {(cid:494)h(cid:495), (cid:494)e(cid:495), (cid:494)l(cid:495), (cid:494)l(cid:495), (cid:494)o(cid:495), (cid:494)\0(cid:495)} C-strings are null-terminated (marked by \0) arrays of ascii characters. 90% of security issues in software are probably related to the null character.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents