Author: Admin Page 43 of 85

C Plus Plus Programming Simple Questions

Submitted by: ELearnersBook Training

C++ programming language is a basic programming language to learn.Freshers who wants a software job faces a lot of questions in job interview.Some basic interview questions are listed below

1. What is the difference between C and C++ ?

2. How do you check whether a linked list is circular?

3.How do you decide which integer type to use?

4.What are the constants? What are the different types of constants in c ?

5 How do you differentiate between a constructor and destructor?

6.What is the difference between Calloc() and Malloc() ?

7.How do you differentiate between aggregation and association?

8.How are pointer variables initialized?

9. How do you find out the size of a class?

10.What is storage class? What are the different storage classes in C?

11.How do you implement an itoa function?

12. How do you initialize a pointer to a function?

13.What the advantages of using Unions?

14.How do you link a C++ program to C functions?

15.Can a Structure contain a Pointer to itself?

16. How do you return a structure from functions?

17.what is the difference between Strings and Arrays?

18.How do you write a function that can reverse a linked-list?

19.What is the difference between syntax vs logical error?

20.What are the benefits of using exceptions in C++?

21.what is a huge pointer?

22.What are volatile variables? Where we should use?

23.What are the differences between a struct and a class in C++?

24.In C, why is the void pointer useful? When would you use it?

25.What are the different types of Storage classes?

26.What are the types of constants in c?

27.What do you mean by inline function?

28.What is a pointer?

[youtube]http://www.youtube.com/watch?v=woiCBcqXAeg[/youtube]

29.What does extern mean in a function declaration?

30.what is qualifiers?

31.What does extern mean in a function declaration?

32.What is the difference between arrays and pointers?

33.What does it mean to declare a function or variable as static?

What are the uses of a pointer?

34.What is a conversion constructor?

35.What is the purpose of main() function?

36.What is a copy constructor?

37.What are the different storage classes in C?

38.What is a namespace?

39.What is a structure?

40.What is a pure virtual function?

41.What does the keyword const mean? What do the following declarations mean?

42.What is a scope resolution operator?

43.What is a macro?

44.What is abstraction?

45.What is arrays?

46.What is Storage class? Explain with example

47.What is the difference between #include and #include ?

48.What is difference between #define and const?

49.What are the advantages of the functions?

50.What is difference between function overloading and overriding?

51.How do declare an array?

52.What is encapsulation?

53.Can a parameter be both const and volatile ? Explain.

54.What is function overloading?

55.What is static identifier?

56.What is multiple inheritance?

57.What is the difference between an Array and a List?

58.What is operator overloading?

59.Can a pointer be volatile ? Explain.

60.What is partial specialization or template specialization?

61.What is the invalid pointer arithmetic?

62.What is polymorphism?

63.What are Dangling pointers and Wild Pointers

64.What is the difference between passing by value and passing by reference ?

65.What is a pointer variable?

66.What is the difference between an object and a class?

67.What is the difference between a string copy (strcpy) and a memory copy (memcpy)?

68.What is the difference between declaration and definition?

69.What is the difference between a NULL Pointer and a NULL Macro?

70. What is the difference between declaration and definition?

71.What is the purpose of realloc()?

72. What is the difference between delete and delete[]?

73.When should unions be used? Why do we need them in Embedded Systems programming?

74.What is the difference between inner class and abstract class?

75.what is a pointer value and address?

76.What is the difference between persistent & non-persistent objects?

77.what is Data Alignment & Structure Padding

78.What is the difference between structure and union?

79.What is recursion?

80.What is the difference between the deep copy and shallow copy?

81.Advantages of a macro over a function?

82.What is the difference between the private public and protected members?

83.What are the characteristics of arrays in C?

84.What is the maximum size that an array can hold?

85.Difference between const char* p and char const* p

86.What is the most efficient way to reverse a linked-list?

87.What is the differentiate between for loop and a while loop? What are it uses?

88.What is preincrement and post increment?

89.What is the size of an empty class?

90.What is the difference between printf(…) and sprintf(…)?

91.What is the use of virtual destructor?

92.Can a variable be both const and volatile?

93.What is virtual class and friend class?

94.What is the difference between malloc and calloc?

95.What is the difference between the functions memmove() and memcpy()?

96.what is a stream?

97.What is meant by file opening?

98.what is a file pointer?

99.what are the advantages of using array of pointers to string instead of an array of strings?

100.what are the pointer declarations used in C?

101.What s the best way to declare and define global variables?

102.How are pointer variables initialized?

103. Where is memory for class-object allocated?

104.What is null pointer?

105. Where is memory for struct allocated?

106.When should a type cast not be used?

107.Why an array always starts with index zero in C++?

eLearnersBook

www.embeddedsiliconnetwork.com

Near ITER College square

Bhubaneswa

About the Author: eLearnersBook

embeddedsiliconnetwork.com

Near ITER College squareBhubaneswar

Source:

isnare.com

Permanent Link:

isnare.com/?aid=1876948&ca=Finances

Wikinews’ overview of the year 2008

Wednesday, December 31, 2008

Also try the 2008 World News Quiz of the year.

What would you tell your grandchildren about 2008 if they asked you about it in, let’s say, 20 years’ time? If the answer to a quiz question was 2008, what would the question be? The year that markets collapsed, or perhaps the year that Obama became US president? Or the year Heath Ledger died?

Let’s take a look at some of the important stories of 2008. Links to the original Wikinews articles are in all the titles.

Retrieved from “https://en.wikinews.org/w/index.php?title=Wikinews%27_overview_of_the_year_2008&oldid=4641412”

New Cars For Sale By Renault, Approaching With Budget Cars In India In Year 2016 17}

New Cars for Sale by Renault, Approaching with Budget Cars in India in year 2016-17

by

[youtube]http://www.youtube.com/watch?v=-RQkXZLyGpE[/youtube]

Scott JohnsonPeople are hoping that Renault is returning with their classic yellow and black grid color in F1 2016. With all these speculations, people are hoping to see them again in F1 show.Renault’ is the most popular manufacturers of vans, Lorries Buses, Cars and other vehicles. Interesting news about Renault is they are the first Auto manufacturing company who won the Grand Prix in 1906. Now, there are number of automobile companies are there in market lot of competition is there so, New Renault Cars for Sale available in open market:2015 Renault Megane Coupe Cabriolet2015 Renault Megane Sport Tourer2015 Renault Megane Coupe2015 Renault Megane Hatch2015 Renault Zoe2015 Renault Clio2015 Renault Twizy 2015 Renault Scenic etc.In India Renault is going to introduce New Renault cars for sale in 2016, these are:Renault Laguna- they are planning to launch the car probably in December 2016.Renault Scenic- planning to launch in June 2016.Renault Clio- they are expecting the launch in June 2016.Renault Dokker- expected launch in June 2016Renault Modus- expected launch in March 2016Renault Duster 7 seater- expected launch in January 2017- February 2017Renault Talisman- expected in December 2016Renault Facelift- expected launch in January 16- February 2016.The latest information about the company is they recorded the rise in sale about 150% in the month of January 2016. In the upcoming Auto Expo 2016, Renault is planning to reveal the new facelifted Duster and Renault Kwid AMT and Kwid 1.0L.The technical information about the car- this is the more powerful and superior version of Kwid’s 800 cc motor. It has worked surprisingly well for the company as it has the record of more than 85000 car bookings in a few period of time. In fact, the waiting period of getting car has gone up by six months in many several areas. The opening of more powerful 1.0L variant would more emphasize the small hatch sales.In other case, if you are looking for Used Car for Sale, no problem. You can get the entire information through the various used cars selling company’s websites. There are a huge number of active car buyers and sellers network online, you can connect yourself to the nationwide network of active buyers. It is the simplest way of finding a Used Car for Sale. Through the website, you can get the online price quotation, free inspection and assistance on paper work, Car Insurance and so on. These companies offer you the best price and best Used cars for sale. They have number of used cars with different categories as per the requirement of people like, Used Renault Cars for Sale, Used Honda Cars for Sale, Used BMW cars for Sale and many others available with them.

The technical information about the car- this is the more powerful and superior version of Kwid’s 800 cc motor. It has worked surprisingly well for the company as it has the record of more than 85000 car bookings in a few period of time. In fact, the waiting period of getting car has gone up by six months in many several areas. The opening of more powerful 1.0L variant would more emphasize the small hatch sales.

There are several websites that give relevant information about new cars for sale and

used Renault cars for sale

. Invest some time for the car you have been looking for and also compare its features with other cars. visit here http://www.autoandgenerals.com/all-best-car-brands/new-used-renault-cars-with-cheap-price-and-insurance-info/

Article Source:

eArticlesOnline.com}

Canterbury farmers to get aid because of snow

Tuesday, June 27, 2006

The New Zealand government officials have announced that it will give NZ$160,000 in aid to help farmers who were affected by the huge amounts of snow in Canterbury, New Zealand two weeks ago.

The aid package will provide four regional offices for co-ordination, food supplies and ongoing support.

The Federated Farmers for mid Canterbury say that the aid will be a start to what looks like a tough winter. President of the mid Canterbury Federated Farmers Rupert Curd says, “It is too early to say exactly how much help the relief package will provide.”

The snow has not yet reached a crisis point.

The Insurance Council has estimated the cost of the snow storm has reached $35 million so far. Chief Executive of the Insurance Council says, “There has been damage to homes, commercial premises both on farms and in town and vehicles. Businesspeople who have been without power are also claiming for loss of income.”

The Minister of Agriculture Jim Anderton has said that they are not ruling out giving further aid.

Retrieved from “https://en.wikinews.org/w/index.php?title=Canterbury_farmers_to_get_aid_because_of_snow&oldid=566083”

Wikinews interviews Joe Schriner, Independent U.S. presidential candidate

Saturday, April 17, 2010

Journalist, counselor, painter, and US 2012 Presidential candidate Joe Schriner of Cleveland, Ohio took some time to discuss his campaign with Wikinews in an interview.

Schriner previously ran for president in 2000, 2004, and 2008, but failed to gain much traction in the races. He announced his candidacy for the 2012 race immediately following the 2008 election. Schriner refers to himself as the “Average Joe” candidate, and advocates a pro-life and pro-environmentalist platform. He has been the subject of numerous newspaper articles, and has published public policy papers exploring solutions to American issues.

Wikinews reporter William Saturn? talks with Schriner and discusses his campaign.

Retrieved from “https://en.wikinews.org/w/index.php?title=Wikinews_interviews_Joe_Schriner,_Independent_U.S._presidential_candidate&oldid=4497624”

English Premier League: Week 33 round-up

Sunday, April 6, 2008

Another nine games took place in the English Premier League this past weekend. Arsenal welcomed Liverpool to Emirates for round-two of their triple header, while fellow title-chasers Chelsea traveled to Manchester to take on Manchester City. In battle at the bottom of the table, Wigan and Birmingham faced off at the JJB, Newcastle welcomed Reading, and Sunderland visited Craven Cottage to play Fulham. In other matches Aston Villa took on Bolton, and Blackburn played host to Tottenham.

Retrieved from “https://en.wikinews.org/w/index.php?title=English_Premier_League:_Week_33_round-up&oldid=4389873”

Fascinating Facts About Nuclear Energy

These are some of the most interesting nuclear energy facts. Facts that you might find interesting, but that you need to know if you are ever thinking about starting a career in nuclear or radioactive waste.

20% of nuclear power for the US

Did you know that more than 20% of the US power and electricity comes from nuclear power plants? Your first reaction might be that this isn’t really a high number. That this is still not even half of the US power needs. But, if you are considering the number of people living and working in the US, this is still a lot of power.

Just think about how much nuclear energy is needed. Meaning that when there is nuclear energy, there will be high levels of dangerous nuclear waste, or also known as radioactive waste. And, this waste needs to be disposed of correctly.

Nuclear energy might be clean, the waste is a problem

Most countries are considering nuclear energy for one reason only. Because it is a lot cleaner than other power plants that are polluting the air a lot. However, this shouldn’t be the only reason why countries are considering building nuclear energy plants.

The moment that they are building nuclear energy plants, they need to consider getting disposal sites that are safe and away from cities and humans for disposing of nuclear waste. This can be a problem for many countries, and it will cost a lot of money to dispose of waste. Something that will not make nuclear energy beneficial to smaller countries.

The importance of disposing of nuclear waste correctly

As said before, with nuclear energy plants comes nuclear waste. And, the waste needs to be disposed of correctly. But, the question is why and how do they dispose of it correctly?

The nuclear waste is radioactive. Meaning that it is really dangerous to all living things. This includes plants and animals as well. The containers should be air-tight and should not be able to damage over time. Nuclear waste can be harmful to hundreds of years. It should also be closed in such a way that the containers can never be open again.

Disposal sites of nuclear can’t ever be used again for any other purpose

This is the saddest part of it all. Once you have used a piece of land for the disposal of nuclear waste or radioactive waste, then you can’t use the site for anything else, ever again. This is because the area will be radioactive, no matter how tight the containers have been closed.

It takes hundreds of years before one container isn’t active anymore. Meaning that only after a couple of hundred years after the last nuclear waste has been dumped there, the site will be suitable for usage again. And, only if the site isn’t radioactive anymore.

These are just a couple of facts about nuclear energy and nuclear plants. The most important thing that any country should consider is the nuclear waste that these nuclear energy plants are producing. The waste is harmful and can kill a lot of people. In the early years of developing nuclear power, there were dozens of people dying because of the waste that they didn’t realize was so dangerous. Nuclear power might provide cleaner air, but will be left a country with radioactive waste that is hard to dispose of.

CR Asia is a world-leading industrial maintenance services provider and shutdowns and turnarounds expert, providing an extensive range of cutting-edge services to the oil, gas, chemical, refining and power industries, including catalyst handling services, reactor services, mechanical and plant maintenance services, mechanical engineering services, heat exchanger maintenance and cleaning services and more.

How the Army Corps of Engineers closed one New Orleans breach

Friday, September 9, 2005

New Orleans, Louisiana —After Category 4 storm Hurricane Katrina slammed into New Orleans, on the night before August 29, 2005, several flood control constructions failed. Much of the city flooded through the openings. One of these was the flood wall forming one side of the 17th Street Canal, near Lake Pontchartrain. The U.S. Army Corps of Engineers (USACE) is the primary agency for engineering support during such emergencies. A USACE team was assessing the situation in New Orleans on the 29th, water flow was stopped September 2nd, and the breach was closed on September 5th.

Retrieved from “https://en.wikinews.org/w/index.php?title=How_the_Army_Corps_of_Engineers_closed_one_New_Orleans_breach&oldid=1982711”

Australian health workers to close intensive care units in Victoria next week

Thursday, March 13, 2008

Members of Australia’s Health Services Union (HSU) will go on strike in Victoria next week in a dispute over stalled wage and career structure negotiations. Over 5000 physiotherapists, speech pathologists and radiation therapists will walk off the job next week, effectively closing the state’s 68 largest health services.

The strike will force the closure of intensive care units and emergency departments across the state.

It is feared the strike could continue into Easter.

National secretary of the HSU, Kathy Jackson said admissions would be crippled, while intensive care patients would have to be evacuated to New South Wales, Tasmania and South Australia as hospitals will not be able to perform tests or administer treatment.

“When an ambulance shows up you can’t admit a patient without an X-ray being available, you can’t intubate them and you can’t operate on them,” she said.

“If something goes wrong in an ICU you need to be able to X-ray, use nuclear medicine or any diagnostic procedure,” said Ms Jackson.

Ms Jackson said the HSU offered arbitration last year, but the state government refused. “They’re not interested in settling disputes, they hope that we are just going to go away.”

“We’re not going away, we’ve gone back and balloted the whole public health workforce in Victoria, those ballots were successful, 97 percent approval rating,” she said.

The HSU is urging the government to commence serious negotiations to resolve the dispute before industrial action commenced.

The government has offered the union a 3.25 per cent pay increase, in line with other public sector workers but the union has demanded more, but stopped short of specifying a figure.

Victorian Premier John Brumby said the claim would be settled according to the government’s wages policy. “The Government is always willing and wanting to sit down and negotiate with the relevant organisations . . . we have a wages policy based around an increase of 3.25 per cent and, above that, productivity offset,” he told parliament.

The union claims it is also arguing against a lack of career structure, which has caused many professionals to leave the health service. Ms Jackson said wages and career structures in Victoria were behind other states.

Victorian Opposition Leader Ted Baillieu said he was not in support of the proposed strike and called on the government to meet with unions. “There could not be a more serious threat to our health system than has been announced today.”

“We now have to do whatever is possible to stop this strike from proceeding,” he said.

The opposition leader will meet with the union at 11:30 AM today.

Victorian Hospitals Industry Association industrial relations services manager Simon Chant said hospitals were looking at the possible impact and warned that patients may have to be evacuated interstate if the strike goes ahead.

Retrieved from “https://en.wikinews.org/w/index.php?title=Australian_health_workers_to_close_intensive_care_units_in_Victoria_next_week&oldid=4360153”

Car Loans India Know Its Basics}

Car Loans India Know Its Basics

by

Meghna Arora

With the purchasing power of numbers of people in India increasing rapidly, purchasing a car has become almost a priority for them. This leads them to car loans, which enable in buying the vehicle of their dreams. However, it would be wise to take all the aspects of these loans into account before you finally make the application.

When deciding on the loan amount, note that banks in India provide 2 to 3 times the annual salary of the applicant or 6 times the annual income of self-employed people for buying a car. To purchase a new car you can get 90-100 percent amount of its ex-showroom price. As for used car, the loan amount is kept 80-90 percent of the car price. Your relatives or spouses income also can be included in the assessing your repayment capability, if your income is not sufficient.

The banks will take the car as security against the loan. This means that while you own and drive the vehicle, it is actually being used by the lenders for the purpose of security. In turn it implies that some crucial papers of the car will be returned to you only when you have completely paid back the loan.

[youtube]http://www.youtube.com/watch?v=qdMkABI9BOI[/youtube]

As far as interest rate is concerned, it depends on your past good or bad record of paying past loans. However, irrespective of the record, you can assure a low rate on the loan once you have made a good amount of down payment to the lender. Repayment of the loan can be made in 5-7 years.

The documents required for car loans in India include identity proof, proof of residence and income proof. Salaried people should submit their latest salary slip, form 16 and bank statements of last six months. If you are a self employed one then bank statements of last two years will serve the purpose of income proof.

While searching for a suitable loan, you should also see that the bank or the company is not charging prepayment penalties or charges minimum amount. With no or less prepayment penalties, you have the advantage of getting rid of the loan early whenever you are able to do so or you can shift the existing car loan to another lender for the benefit of lowering the interest rate.

You should also be prepared to pay processing fee on the car loans. The fee varies from bank to bank and has to be paid up front. The lender will give you a loan amount minus the fee. So the fee will reduce the actual amount you receive in your hands.

It is crucial for the borrowers that they search for ideal car loans in India. Study various banks rates and other terms-conditions, keeping your requirements and circumstances in mind to find a suitable deal.

Meghna Arora is offering loan advice for quite some time.She holds a masters degree in economics from University of Warwick.For further details of

Car Loans India

, new car loans, car loans, used car loans, car finance you need to visit

carloans.net.in/

Article Source:

Car Loans India Know Its Basics}

Page 43 of 85

Powered by WordPress & Theme by Anders Norén