u got the value of b 'cause although b has not been initialized, it points to a memory location; that's why contain some garbage value.
Learning programming is a long process but you have short span of time, so you should go first with C language and then it will be easy for you to...
I think this command should work.
you can use this code for this purpose in shell script:
if cmp f1 f2
The Algorithm is like this:
1. Enter the password and save it to a string.
2. Now check if the string length is less than 5 or greater then 15.
Practice makes a man perfect.How much program you have practiced or coded, will boost your confidence and leads you towards a good programming skill.
I think you should go for The Complete Reference C by TMH publication.
To exit from command line, first you should type jobs
This command will give you the active jobs in window. The first field represents Job ID....
For the first program the output will be 55 and 67 because we can't initialize b as we have used * between % and b.
Second one has been given by...
For at the end of line, you can use tail command like this;
tail -n > file
where n is the line from the last as tail -10 means last 10 lines and...
The directory or folder inside which you have that file, may not have write permission.You should change the permission for your directory.
Basically learning the programming language is a easy task but to create logic and manipulate it, is a tough task. So, I advice you first to learn...
Separate names with a comma.