Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 31758
0 votes

Caesar : Extra random characters at the end of a char ciphertext array

All your memory is like a long array. For example, you declared two strings — one of them has strlen of 0. …
D3sl0nG3r's user avatar
0 votes
2 answers
1k views

Caesar : Extra random characters at the end of a char ciphertext array

while (plaintext[0] == '\0'); int UPPERCASE_DIFFERENCE = 65; int LOWERCASE_DIFFERENCE = 97; // get length of plaintext int text_length = strlen(plaintext); // create ciphertext array