#include
{ int i=30;
printf("%d\n",printf("%d",printf("%d",i)));
return 0;
}
#include
{ int i=30;
printf("%d\n",printf("%d",printf("%d",i)));
return 0;
}
Labels: Programming
I thought the following C program is perfectly valid (after reading about the comma operator in C). But there is a mistake in the following program, can you identify it?
#include
{ int a = 1,2;
printf("a : %d\n",a);
return 0;
}
Labels: Programming
Try guessing the output for the below code!!!!!!!!!
#includeint main()
{
char dummy[80];
printf("Enter a string:\n");
scanf("%[^a]",dummy);
printf("%s\n",dummy);
return 0;
}
Labels: Programming
Difficult people present no problem if we pass them on the street, in the supermarket or in a building lobby. Nevertheless, when we have to work with them difficult people can become major irritants.
It seems that some people are just born to be difficult. We have all worked with them and most of us dislike them. Difficult people are easy to recognize--they show up late, leave early, don’t turn their work in on time and have an excuse for every failing.
Wait, there’s more. These difficult people harass you and others, ask too many self-explanatory questions, neglect details, distract you and repeatedly challenge you and others. Even worse, when they interact with customers, vendors and people lower than them on the corporate hierarchy, they can be grouchy, impolite, condescending, uninformed, misleading, inappropriate or simply wrong. Do you know anyone like this?
Naturally, no one wants to work with difficult people. When dealing with problematic employees, productivity decreases, frustrations rise, morale goes down and customers and vendors get upset.
How to Handle Them
1. Don’t ignore the problem. Assuming that the employee provides value to the company and possesses redeeming qualities, there are ways to deal with difficult employees. Most often, managers will simply ignore problematic staffers. Managers who live by this rule hope the problem will just go away; that these people will somehow turn themselves around or stop being troublesome. Ignoring the situation is the wrong solution to what could likely become a progressive problem.
2. Intervene as soon as possible. It is important to take action as soon as the negative behavior pattern becomes evident--when left untouched, this problem will only escalate.
Occasionally, the difficult employee has no idea that his behavior is a problem or that others react negatively to his actions. This is because most people tend to put up with the annoying behavior and “go along to get along.” At the same time, some employees just consider it a “job frustration.” Just like some managers, employees want to be liked by colleagues and subordinates and are therefore reluctant to speak up when a problem arises.
Ultimately, it is the manager’s responsibility to take the appropriate action to correct the problem. Whether the concern exists due to the employee’s lack of knowledge of the issue, lack of feedback or projecting the difficulty onto someone else, the manager has the responsibility of addressing and turning around the predicament. The manager needs to gather information from employees to discern the extent of the problem and personally observe the employee interacting with customers or vendors.
3. Research the problem personally. Armed with accurate data and examples, the manager needs to then take this person into a conference room or office--away from others--and calmly address the issue. To begin, the manager needs to ask the employee if he is aware of any ongoing issues to determine if the difficult person is aware of the problems.
If the employee is “unaware,” the manager needs to describe the unacceptable behavior. The employee might interrupt to disagree or deny the existence of any issues. Nevertheless, the manager needs to continue by giving clear examples of the unwanted behavior.
The manager also needs to allow the employee to respond to the allegations. If the difficult employee refuses to believe that the allegations exist despite the evidence, the most the manager can hope for is an intellectual acceptance of the possibility that a problem exists.
4. Help the problematic employee to get back on track. Once the employee begins to understand that these negative behaviors are real and experienced by others in the organization, the manager or someone from human resources should begin to coach the difficult employee in displaying more acceptable and appropriate behaviors. The employee needs time and practice in “trying on” new, more suitable behaviors. HR and/or the manager need to provide specific feedback to this employee on the success or failure of his efforts in minimizing the negative actions and implementing ones that are more positive.
5. If all else fails, termination may be necessary. If the employee continues to deny his inappropriate behavior and refuses to try to improve the situation, the manager needs to place this person on the fast track towards termination. Often this involves recording a series of well-documented verbal and then written feedback about the behavior. Strictly following company protocol, there should be a period for the employee to address the questionable behavior. If this trial period does not result in improved behavior, then the employee needs to be terminated.
Most employees will recognize the negative behavior and will at least attempt to turn it around. This is especially true during tough economic times when unemployment is high and finding a new job is difficult. In any case, the manager needs to follow company guidelines in recognizing the unacceptable behavior, providing direct feedback, providing input to try to turn it around and ultimately taking action in a timely manner.
Not doing so is a disservice to the problematic employee, other employees and the success of the organization.
A computer can’t do anything until you tell it what to do. This is accomplished by giving it commands and directions. This is often achieved by use of a keyboard or mouse. The keyboard is an essential part of any computer, and you will be having a hard time using one without it. When looking for a computer keyboard, you might be surprised at the number of different models from which you can choose, as well as the number of different features each one may have.
The cheaper models of computer keyboard will have the basics. This is all you need if you are looking for something inexpensive. You will have all of your keys, as well as a number pad, and the F keys. Other models will be egomaniacally correct. This is an essential for someone who spends a lot of time at his or her computer. They are popular with writers, and those who are in the administrative assistant type position at work. These make sure your wrists do not twist in an unnatural position, and they keep your arms feeling comfortable.
A higher end computer keyboard will have a lot of bells and whistles. This will be something to get if you really love shortcuts and you are always pressed for time. There are extras on these keyboards designed to make your life easier. This type of computer keyboard will have short cuts for many of the programs you use on a daily basis on your computer. Programs will open at the touch of a button, and you don’t have to mess with your mouse to get them open. This type of computer keyboard may also have a sound control for your speakers, and other neat features.
When shopping for a computer keyboard, have a look online to see what you can find. You can either purchase your computer keyboard when you find the right one, or just use what you see as a guide for what you want to find when you go to the store. As with any piece of equipment, you may want to look into durability when you are buying a computer keyboard. Some will take spills and keep on working, while others will be rendered useless. You should always be careful with your computer keyboard, but accidents may happen. Look for a model that will take the bumps and bruises you and your family may dish out.
What is the most booming industry you can think of? What pops in my mind is the coffee shop business. I mean come on, doesn't it ever slow down? The world has certainly spoken, and what they love is coffee. I often wonder if the plethora of businesses will ever cease, or plummet in profits. At this rate I'm thinking that the coffee shop business is headed nowhere but up. Have you had your cup of Joe today? Who am I kidding; one is never enough.
I love coffee! I will admit that to anyone. Now I'm not claiming that it's healthy or anything like that. I'm not one of the new-age specialists who say that coffee makes you more intellectually endowed. I'm simply a guy who loves the taste of java. Yep, that's right! It's not even the caffeine issue. Heck, you can take the caffeine out of the equation, because I love the flavor. Personally I've even considered opening my very own coffee shop business. Then after many nights of brainstorming I realized that I'd consume all the profits.
That would just not go over well in the long run. However, I do encourage those who strive to start their own business to consider a coffee shop business. This is where the money's at. It's that simple. You take a town that lacks a proper coffee house or espresso drive-thru, and then you invest in a coffee shop business where the morning traffic hits. Put up a drive-thru right where the entire town passes by. That's golden my friends. I saw it happen several times in Oregon and the customers were pouring in. What always gets me is the ration of supplies versus cost. Let's see, there's a cup of milk, two shots of espresso and some syrup in an average latte. How in the world do they get four bucks out of that? That's got to be some major turn-over.
If you're a coffee nut and wish to start your own coffee shop business, then you may want to do some recon work first. It's crucial to know the right location. This will really determine how well your coffee shop business will do in the long hall. They don't say location, location, location for nothing. You will also need to know the overall investment cost prior to getting started, and that's why it's imperative to get jacked into the web. The Internet will educate you plenty regarding what it takes for a successful coffee shop business.
Here's to your success and great coffee!
LESS SLEEP LEADS TO CARDIOVASCULAR DISEASES: A study by researchers at the University of Pennsylvania found that a sleep deficit built up over just five nights could significantly stress the heart. Chronic sleep deprivations can stress the heart and raise the risk of cardiovascular disease. The neurological and behavioural effects of long term sleep loss have been well-documented which leads to lowered concentration and hand eye co-ordination to poor mood. The findings show that the shift workers are at higher risk for heart disease due to the fact that they get less sleep because of the disruption in their sleep-wake rhythms. This shows the importance of sleep. Sleep at night will be the actual sound sleep rather than sleeping in the day time.
So do watch your sleep pattern to get rid of heart related diseases. Take Care...
Labels: health