Question: CODE IN C LANGUAGE Generate Random Passwords Generate random password based on the specification. Usage: randompwd Note: Special characters are limited to !@#$%^&*+:; Example: randompwd
CODE IN C LANGUAGE
Generate Random Passwords Generate random password based on the specification. Usage: randompwd Note: Special characters are limited to !@#$%^&*+:; Example: randompwd 7 10 2 2 2 2 Sample outputs: 8l;qHhjG@4 DuZc^*F0m6 Hint: C string is nothing but an array of characters. You can use something like char password[100];
Compare Strings compstr.c
Get 2 lines of input (2 strings) Compare both strings ignoring the white spaces and output whether they are same or not. Ignore case as well. Example these qualify as same strings. compstrEnter String #1: I love Music Enter String #2: Ilo vemu sic Both strings are same!
Hint: Use fgets() to get the whole line as input. tolower() or toupper() can be used to convert to lower or upper case.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
