1: You may contribute by sending Self created Queries with Answers to firstname.lastname@example.org or fill in the form below.
2: By sending Small articles (Min 300 words) on any topic to email@example.com
3: By sending multi-page article on any topic to firstname.lastname@example.org
Q2: What is int main() in C ?
Ans: main() is the entry point of C/C++ application. If you use int main() , It will return integer value as return. If you use void main() , then this will not return anything. Please note that the software ,over which application executes , has to prepare stack before calling main()
There can be two types of application exist :
1: Bare board based : Which runs directly on hardware. For example : Any boot loader such as u-boot . The CPU start from reset vector , initialize required resources such as RAM and then jump to main() . In this case generally you void main() can be used .
2: Operating System based : If the application is supposed to run on top of OS such as Windows,Linux etc. It is operating system’s responsibility to create necessary stack or other resources before calling main(). If application is supposed to return a value or error , then one can use int main(). Generally it will return -1 for error. For example if your application failed to acquire required memory or other resources. One can also pass any parameter if required through argv,argc in main. You might have seen many .EXE files with such provision.
Q3: Are junior developer basically just a burden in their first year ?
Ans: It depends on which company you join. Most of the MNCs provide good learning environment and regular training to junior developers. Many design houses and startup treat all employees pretty well. It’s up to junior developer how much time he/she takes to adjust in the industry. Best approach is to keep tracking progress whether it is work related or any other soft skill related. Work proactive manner not in reactive manner. Don’t get panic and prioritize work as per manager’s advice. Following may help to handle work pressure if any :
A beautiful speech by Sundar Pichai – an IIT-MIT Alumnus and Global Head Google Chrome:
The cockroach theory for self development At a restaurant, a cockroach suddenly flew from somewhere and sat on a lady. She started screaming out of fear.
With a panic stricken face and trembling voice, she started jumping, with both her hands desperately trying to get rid of the cockroach. Her reaction was contagious, as everyone in her group also got panicky. The lady finally managed to push the cockroach away but …it landed on another lady in the group.
Now, it was the turn of the other lady in the group to continue the drama. The waiter rushed forward to their rescue. In the relay of throwing, the cockroach next fell upon the waiter. The waiter stood firm, composed himself and observed the behavior of the cockroach on his shirt. When he was confident enough, he grabbed it with his fingers and threw it out of the restaurant.Sipping my coffee and watching the amusement, the antenna of my mind picked up a few thoughts and started wondering, was the cockroach responsible for their histrionic behavior? If so, then why was the waiter not disturbed? He handled it near to perfection, without any chaos.
It is not the cockroach, but the inability of those people to handle the disturbance caused by the cockroach, that disturbed the ladies. I realized that, it is not the shouting of my father or my boss or my wife that disturbs me, but it’s my inability to handle the disturbances caused by their shouting that disturbs‘s not the traffic jams on the road that disturbs me, but my inability to handle the disturbance caused by the traffic jam that disturbs me. More than the problem, it’s my reaction to the problem that creates chaos in my life.
Lessons learnt from the story: I understood, I should not react in life. I should always respond.
The women reacted, whereas the waiter responded. Reactions are always instinctive whereas responses are always well thought of. A beautiful way to understand…………LIFE.
Person who is HAPPY is not because Everything is RIGHT in his Life..
He is HAPPY because his Attitude towards Everything in his Life is Right..!!
Q4: How jobs in private are risky ?
Private companies work based on certain goals to sustain in the market and providing value of money to its promoters. Just getting a profit is not the criteria , rather relative profit from previous quarter/year used to be main focus. To maintain that profit , they don’t hesitate in taking tough decisions. This is the reason , company merger, acquisition and spin off happens. So if you are in a development team say mobile Apps and company close that particular division due to business reasons, You may loose job. But generally if you remain updated as per latest technology, You may find another job. If company decides to layoff , Generally they provide severance package.
In fact many people keep changing job for career growth.
Q5: How do I learn competitive programming as a beginner ?
Ans: Learn C with focus on data structures and algorithms. You may install Eclipse IDE along with cygwin for GNU tools for C/C++. You will be able to do step-by-step programming and view data structures in memory. You may also view registers. Eclipse IDE provides breakpoint, Watchpoint and Eventpoint features for better control over program. Here is live example with Array
After Learning C and lot of exercise, Learn C++ OOPS concepts. Here also you need to do practice using various use cases of OOPS.
After C++, Install Anaconda and learn Python using Jupyter notebook. Anaconda supports more than 1000 packages . You may choose few based on your interest and practice. You may also practice different algorithms.
This will create a solid foundation and you should be ready to participate in online tests first.
Later participate in code Marathon and other on-line code tests.
You may find many questions answered at this Quora profile.
Would you like to take a quick quiz on Arduino Uno ? If yes, Please visit this
Q6: What resources can add value for learning technology ?
- We recommend Kindle as you can have access to many Free and important eBooks.
- Python has become important for all. A Quick journey on this is available at
- Embedded Linux Development
Q7 : How can I enroll for any possible job opportunity ?
Ans : You may signup free at Skill Center
embedkari.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for website owners to earn advertising fees by advertising and linking to Amazon properties (.com, .in etc.) and any other website that may be affiliated with Amazon Service LLC Associates Program. We earn a small commission from products and services purchased from Amazon after clicking a link on our site. This commission is paid by Amazon and does not add any cost to your item, you’ll pay the same whether we receive a commission, or not.In the future, we may add other affiliate programs, or use other monetization strategies.
If you want to know more about Embedkari vision, Please read following :