Wednesday, April 29, 2009

What is the difference between a++ and ++a?

The difference between a++ and ++a, is that when we use a++ in a program and then the effect would be on the next statement while the ++a, effect is that on the current line not on the next statement. Example code:


Output:


Code:

#include<……>

#include<……>

int main()

{

int c=1;

c=5;

printf("%d\n",c);

printf("%d\n",c++);

printf("%d\n\n",c);

c=10;

printf("%d\n",c);

printf("%d\n",++c);

printf("%d",c);

getch();

}

Tuesday, April 21, 2009

A Day of 100% Scores

Well, I am so glad it is because finally, all of my quizzes this day are all perfect and no mistakes even one mistake only. I also I am so happy it is because I made to saw my crush and talk to her. Oh my God I can't believe this. This is really a perfect day for me especially in school. Even though in our house there are some struggles but still I can make to smile for my friends and for all person who support and love me and ready to give their shoulder in case I need them. Well, I hope that it will continue till I graduate in college and also when I can get my stable job.

Saturday, April 18, 2009

Updating

Well, today I am updating all my blogs the Web Development Blog, Cyber Information and the One Step Closer Blog. These are few of my blogs, but unfortunately I did not made to update some of my blogs. These 3 blogs including this Students Diary is my favorite of all my blogs and I don't know why. Actually, not only me who is updating my blog but also my friends here beside me. I want to update them all so that they can made to compete to other blog.jejejejejeje, but I know that this is so impossible. I am going to try my best to put all my english in all my blogs I know that these is one way on how to enhance my knowledge in writing and not only in writing but also in making an article. So thats all and see yah...

Friday, April 17, 2009

Getting a score of ZERO is not showing that you are a LOSSER

I was really disappointed when I got zero in our activity this morning. For me, it is so easy but I don't know why. I don't want to blame the multitester itself but I think I really have to blame myself, why? it happen this morning. Ever since from the start of our class, I did not made to get zero and this is my first time to get zero in our quiz and activity this summer. Oh my God. I can't believe it, but I have too.I know that next time will be mine, I know that. I don't want to get a score of zero again, even though getting a score of zero doesn't mean that you are a losser. Because this morning, we have an activity each group or should I say it is a kind of game. But sad to say we did not made to won the game it is because, I and one of my companion got a wrong answer in getting the coded value and measured value of a resistor, so insted of getting the perfect score we've only got 7/10. But I know that next time will be ours.