Question: Implement decrypt _ chunks ( ) . Loop over each string in the array / / and shift the characters in it by subtracting DECRYPTION
Implement decryptchunks Loop over each string in the array
and shift the characters in it by subtracting DECRYPTIONSHIFT value
from them. Use pointer arithmetic to access individual characters
but
array access to the strings. Remember that Cstyle strings have a
null
terminator at the end. Do not apply the shift to the terminator.
Hint: to avoid doing double pointer arithmatic, save a char
pointer
to the active chunk in the outer loop but before the inner
loop.
Then the inner loop is only concerned with a single array of
characters rather than an array of strings.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
