Question: Explain this solution for me 13. You wish to write a function that encrypts text as numerical values. You know that in C, memory is

Explain this solution for me
13. You wish to write a function that encrypts text as numerical values. You know that in C, memory is an amorphous entity. You wish to take every 4 characters in a string, and output the integer equivalent of those 4 bytes. E.g. the string "jack" is encoded as a single integer 1784767339. You may output via printf. You may assume that strlen(str) % 4-0. Do NOT make assumptions about the length of a string. Hint: This solution requires fewer than 10 lines of code. 0110101001100001 01100011 01101011 01101010011000010110001101101011 1784767339 void convert ( char * str) f int i; for i 0; I
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
