C-sources: #include<stdio.h> #define N 20 int main() { int i,j; ]={'Q','W','E','R','T','Y','U','I','O','P','[',']', 'A','S','D','F','G','H','J','K','L',';','\'','\\', 'Z','X','C','V','B','N','M',',','.','/'}; char *WrongInput=(char*)malloc(N*sizeof(…