The correct way isif(argc !=2 || ! isalpha(key[j]))


First I would present you some basic concepts that you are lacking (seem like) about the concept of scope of variables in c. Later I will give you idea how you can solve your problem. A scope in any programming is a region of the program where a defined variable can have its existence and beyond that variable it cannot be accessed. There are three places ...

Only top voted, non community-wiki answers of a minimum length are eligible