Subscribe: Something Doozy
http://sadeshnehru.blogspot.com/feeds/posts/default
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
address  cuil  good  google  hindi  india  iphone  lot  memory  movie  new  people  power  search  variable  zenni optical  zenni 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Something Doozy

Something Doozy





Updated: 2018-02-07T09:26:16.050+05:30

 



Cheap glasses:

2009-02-10T06:20:42.898+05:30

Zenni Optical in the New York Times?! Can anyone believe it? Yes I came to read an article in the New York Times about zenni in the health column. Seeing Straight Without Breaking Bank is the title of the article. I was wondering what they are going to tell. When I finished reading they were telling about the Zenni optical Prescription eyeglasses for only $8! They are manufacturing their own glasses so that they can sell it cheaply. It is good news for the poor people to hear about cheap glasses.



Holiday frames.

2008-12-17T21:42:36.433+05:30

Holidays are nearing for every people in the market and Holiday Glass Frames From Zenni Optical has hit the market. Zenni is popular online eyeglasses shop rending the services at its best. We can get $ 8 Complete Rx Eyeglasses from the zenni opticals online store. This is the most cheap frames available in the market. East or west zenni is the best.



Zenni came in fox:

2008-11-05T16:45:54.324+05:30

(image)

In our country everyone likes to buy a glass from the Zenni for it lowest price of eye glass. We can never get a glass in any other shop.Zenni Optical was on FOX news! for its Great Eyeglasses For Less. We can get a Variable Dimension Frames From Zenni in the list of models available with them.Lot of people are rushing to the shop for the low cost eye glasses.



Phoonk

2008-09-04T18:08:21.266+05:30

(image)
The film I recently watched is phoonk (Hindi). It comes under horror genre. Also it is from my favorite director Ram Gopal Varma(RGV). So I watched the film with much expectation. The film has the perfect essence of RGV. Right from the start they just show the dolls and deities for every scene. All the characters in the movie were perfectly chosen especially the character of Madhu, done by Ashwini Kalsekar and The character of Rajeev by Sundeep. The kid Ahsaas Channa is so superb in the movie both in the first half and the second half. After the interval when the kid goes to school and the kid is being possessed by some powers by black magic the camera literally flies through everywhere. Even the character of the doctor has some meaning in it. Till the end of the movie the camera focuses the dolls in every scene. The character of mandar that comes at the end of the film is so disgusting. It is an essence of RGV though. Even though the climax is good there is something missing in it. Also, the screenplay is good. But it is not so scary but interesting up to a mark. Background score is good which makes us still more thrilled. Overall I give 3.5 out of 5 for phoonk.



Power cut Kills

2008-09-03T21:52:58.957+05:30

(image)
I could not possibly do my day to day work because of the frequent power cuts that happen in almost every city. People suffer a lot. For those who belong to middle- class, it is a huge problem. With no power some shops like telephone booth, photocopy centers etc are suffering a lot. Because they cannot afford to get a battery ot generator as the large scale factories who have enough backup for power and money. Also middle class people suffer due to power cuts during un-time like 1, 2, 3 etc. They lose sleep and they never have mind to work next day. Schools, tution centers etc., have also been affected a lot. Already people know about the situation in the Indian schools. They never have proper facilities and like pouring fire on oil these power cuts have started a new problem on to them. Why these power cuts are happening? Due to lack of management of fuels, coal and power in India. Already inflation has made people a lot worried. Now these type of power cuts are added on to their worries. So the belief in the current government has reduced a lot. But, no use in fighting against the government for this.Because this should have been done a long ago. So, sick. :-(



Learn Hindi now!

2008-09-03T21:13:02.685+05:30

(image)
Learning Hindi is very sufficient for every Indian. Because for several reasons. First of all it is our national language. Everything can be found in Hindi right from train ticket to telephone bill. Secondly if we travel to north of India, except four states in the south all the people speaks Hindi whatever their mother tongue may be. Also many people know Hindi in southern part of India too. If you are employed in north India without Hindi no one can manage (though you will be forced to learn it in some time period).There a lot of places in north India where you can manage if you know Hindi if you go alone say along with your newly married wife or hubby for honey moon to places like kulu, manali etc. Also if you want to get employed in any central government job, knowing Hindi is compulsory. Secondary reasons are as follows. Most of the good films in India are in Hindi language only. Some people say if you know Hindi automatically Sanskrit can be learnt easily which is the language of the Gods. Whatever may be your mother tongue learn Hindi first because many beautiful girls and handsome guys have Hindi origin (though they speak English always). So wake up now and start learning Hindi right from now!



Friday the 13th:Most disgustful movie Trilogy I have ever seen

2008-09-03T17:55:14.572+05:30


(image)
I was wandering around the net to find some of the most successful movies so that I can download and see it. I always have a belief that the trilogies are good to watch. I came across the movie Friday the 13th. The movie has a quite good profile. There around 12 to 13 parts of the movie right from 1980 till now. So I believed it will be good to watch and it also comes under my favorite genre “horror”. I downloaded all the parts in a single breath and started watching them. I couldn’t utter anymore word. All the parts have the same storyline and there was not much thrilling secrets to be revealed either. I got headache seeing the man in the mask. Because I neither get fear nor thrill watching that thing. I don’t know how they managed to run such a disgusting trilogy till now. Except some movies in late 90s and 2000s everything are pieces of shit. I think the movie would have been somewhat successful in the box office due to the porn like scenes in almost every part of the movie. It is as if that the movie cannot be taken with those scenes on. So I recommend you people that before watching the movies please check out its imdb rating and the response in red tomatoes to avoid headache that was experienced by me.



Abhinav bindra won a gold medal

2008-08-15T04:54:38.506+05:30

When the news abhinav won a gold medal reached me some of thoughts that wavered in mind were
He is going to be a rich man
After long gap we got a gold medal
He is going to carry the flag in the next Olympic game.
We got one quiz or GK question on Indian sports.
He is going to have lot of party’s.
Her parents will be proud of him.
Indian Olympic committee has improving now see their growth
1996 200 Bronze
2004 Silver
2008 Gold
So the committee can boast about its growth.
Finally He is going to lose in the next Olympic Games like Rathore.



Selfish

2008-09-04T18:50:37.808+05:30

(image)
This world is a place which is for everyone, for living happily. That’s what the God wants. Even atheists say that this world is for living happily. This may be a number 1 mokkai topic. But this is not touched by even famous writers. We must be aware of lot of selfish gooses who come in our ways. We must not give room to them to dominate us. Even this act becomes selfishness. But this never affects anybody. I have met many people who never cars for us when they are happy and prosperous. The suddenly shows us unlimited love and affection for no reason but they need something from us. It may be money, things or even the peace and happiness which we have. This is the type of world where nobody let others to fly high. If this is a competitive race nothing wrong in it. But due to lack of maturity and greedy mind many wants others to go down of them rather than try and make themselves higher. This cheap quality is with everyone. From a layman, to a ruler. The world will not relinquish but its grace is being relinquishing by people in the face of the fox. This is not a criminal offense. But this is worse than that because this cannot punishable rather than words exchanged. These kinds of people are there in the world right from the day God created man. So, only God can save.



3G in India by the middle of 2009

2008-08-07T05:34:36.607+05:30

3G is the third generation of mobile phone standards and technology, superseding 2G, and preceding 4G.3G technologies enable network operators to offer users a wider range of more advanced services while achieving greater network capacity through improved spectral efficiency. Services include wide-area wireless voice telephony, video calls, and broadband wireless data, all in a mobile environment. Additional features also include HSPA data transmission capabilities able to deliver speeds up to 14.4Mbit/s on the downlink and 5.8Mbit/s on the uplink.

These features are available in USA, UK and Japan. Now in India the Government issuing guidelines for 3G, high speed mobile downloads and live television on mobile finally becoming a reality by middle of 2009. But customers in Delhi or Mumbai may not have much to look forward to due to spectrum constraints; there are merely three Global System for Mobile (GSM) operators that can offer 3G services. With one slot already reserved for MTNL and the other two open for global bids, customers in Delhi and Mumbai may end up missing the 3G bus if they don’t switch operators.

But customers in Tamil Nadu, Karnataka and Kerala could have as many as 10 operators to choose from. Subject to the availability of 3G spectrum, we will have five operators to start with and gradually we may go up to having ten operators. In Mumbai and Delhi, however, they can only have 2-3 operators.

Even private GSM operators admit that limited spectrum will lead to overbidding and could render 3G services unaffordable. If there is a supply constraint and demand excess, obviously there will be overbidding, which could make 3G very expensive in Delhi and Mumbai.

But analysts say it is unlikely that the big GSM players like Airtel and Vodafone will not bid aggressively to ensure they get 3G spectrums, primarily because most customers with an appetite for 3G are locked in the two networks.



Cuil a New Search Engine Challenges Google

2008-07-29T14:09:25.201+05:30

Cuil is the latest search engine launched this Monday by Stanford professor Tom Costello and former Google search architect Anna Patterson with thrice the volume Google index. It is bigger, faster and better than Google's flagship search engine in pretty much every way.

Me searching in Cuil search engine


(image)

I am searching Google in Cuil search Engine


(image)

Cuil is expected to search more web pages than Google and 10 times as many as the search engine of Microsoft.Where Cuil scores over Google is the way it indexes the web and handle queries by users. Both are costly operations, but Cuil claims to have found a way to slash those costs.

A search for dogs, for example, will return category results for "water dogs," "crossbreed", "cocker spaniel" and so on. Some of these related terms do not include the term "dog".

A search for "Harry" would throw up different tabs for "Harry Potter" and "Prince Harry of Wales". Further, the Harry Potter tab will provide more sub-links devoted to actors, Gryffindor dorm-mates and others associated with the series.

Its interface is so good to search and use as we see in the picture.Compared with Google's globe-spanning network of data centres, some literally set up near dams so they can tap hydro power more efficiently, Cuil's two puny data centres hosting less than 2,000 PCs total will have to run pretty fast to outpace Google's crawlers.

As a business proposition, Cuil is obviously a big bet ... No other search engine has come close to entering the public consciousness like this. Of course, Cuil doesn't have to trounce Google on day one. It took Google quite some time to surpass Alta Vista and Yahoo in the search wars.

To use Cuil use www.Cuil.com.

Me searching Ajith in Cuil


(image)
So friends try to use cuil search engine.





Basic Stuff in Pointer (part-1):

2008-07-26T14:03:19.151+05:30

Pointer is not a tough one to learn, but it is rather easy when you understand the basic stuffs involved in the pointer.

There are six things you need to know to learn the basic stuffs in pointer

Understanding the variables and computer memory:

What will happen when we declare a variable?

Compiler determines what kind of variable it is. Based on the type of variable it reserves a memory. It is very simple to understand with an example.

EG: We are going to buy a chocolate. There are varieties of chocolate with different cost. Some of them are costly and cheaper. What we will do based on our finance we buy chocolate. If we are having 10 rupees we buy chocolate for ten rupees. If we have 50 rupees we buy chocolate for 50 rupees.

Similarly if the variable type is a char it reserves one byte, if it is int 2 bytes and goes on based on the type it allocates memory in computer.

The compiler knows 4 things about a variable

  • Its name
  • Its type
  • Its size
  • Its location in memory

E.g.: int a; compiler allocates 4008344 as memory location.

Then’ a’ is variable name
‘a’ is int (Integer) type
‘a’ is 2 byte size
‘a’ is located at 400834 in memory.

Using Size of:

We can determine the size of a variable by Sizeof () operator. Actually sizeof is a function which returns the sizeof a variable.

E.g.: program demonstrating use of sizeof ()
Int a;
printf (“The size of variable 'a' is %d”, sizeof (a));
Result:
The size of variable ‘a’ is 2

Finding memory location with & operator

& is an operator when prefixed with a variable, it returns the location (address) of the variable.
That is why & is prefixed with a variable in name in scanf.

E.g.:
Int a;
Scanf(“%d”,&a);
If we enter 4 as input it scans 4 and saves in the location of a allocated by compiler. To know what the address is we are using & in scanf before variable name.

We can see other three thing s in the next post:

Creating pointer variables
Storing memory locations in pointer
Doing pointer math



IPV4 address will be over by 2011:

2008-07-23T05:45:21.387+05:30

Exactly (check out this link to know how many days) www.penrose.uk6x.com this much days available to assign IPV4 address to new users. This calculated using the new allocation of user rate. This rate will increase soon so IETF fear that the addresses will be worn out by 2010.

More than 85 per cent of the available addresses have already been allocated and the rest will run out by 2011, according to a prediction by the Organization for Economic Cooperation and Development (OECD).

IP addresses are so basic to the success of the Internet that we really do not need to know a website's domain name if we know their IP. In fact, domain names are only a convenience for people to remember the addresses easily to type, say for e.g. www.google.com has IP address of 216.239.39.99. It is tough to remember all the IPV4 address so only we give names for the IP address.
(image)
When the IPV4 address scheme was introduced in 1981, there were hardly 500 computers connected to the Internet. So the address makers at that time allowed for four billion addresses, thinking they would last forever. But those address lost for only 30 years.

When the addresses are ran out, Internet speeds will drop and new connections and services (such as Internet phone calling) will either be expensive or simply impossible to obtain.The solution to the shortage is to upgrade to a new address protocol IPV6. The IETF has introduced IPv6, more than a decade ago, providing enough addresses for billions upon billions of devices as well as improving Internet phone and video calls, and possibly even helping to end e-mail spam.

The problem is that the new system is not really compatible with the Internet of today. If, for example, Google wants to support IPv6, it will need to build a whole new IPv6 web service, complete with new domain names, servers and bandwidth. Everyone needs to build a new web service for IPV6. That costs will run into billions of billions of billions...



I got back my luck:

2008-07-23T16:08:28.912+05:30

Last one month nothing went good as I thought. Even my plans are got spoiled one way or another. I never knew that vinoth will behave like a rookie uneducated fellow for money. His speech really ruined my mind and my plans. My house owner was very sad. I haven’t got my passport and pan card which are indeed need for my verification.

After a heavy setback I went to temple daily to solve my problems. Now I think the god is very powerful and brought my luck back to me.

I have applied for pan card and got within 13 days.

I got the broadband connection after a long wait from BSNL.

My father finally gave me bike to ride in main road with (not) full confidence.

Finally the American friend of my father brought a Laptop from America. I am very happy that I got a good configured Laptop. Most important it has Windows vista.

After three months I am going to get $3.25.

I think soon I will get a call from my company since I got back my luck. Even every need is fulfilled by God I will continue to worship him.



Smart Eyeglasses for Smart People:

2008-07-26T05:54:27.142+05:30

People who suffer from long sight and short sight are requested to wear eyeglasses. Let me give a short intro about Eyeglasses. Eyeglass frames are commonly made from metal or plastic. Lenses were originally made from glass, but many are now made from various types of plastic, including CR-39 and polycarbonate. These materials reduce the danger of breakage and weigh less than glass lenses. Some plastics also have more advantageous optical properties than glass, such as better transmission of visible light and greater absorption of ultraviolet light. Some plastics have a greater index of refraction than most types of glass; this is useful in the making of corrective lenses shaped to correct various vision abnormalities such as myopia, allowing thinner lenses for a given prescription.

(image)
There are many things like that are taken into account for preparing eyeglasses. People also need cheap glasses. For those people there is an organization named Zenni optical. Incredible Stylish New Frames from Zenni attracts everyone to buy new glasses. For their quality glasses Zenni Optical was on FOX news! The price of the glasses starts from Zenni Optical $ 8 Rx Eyeglasses. So people are you ready to rock in the streets with new Zenni eyeglasses.



Ganguly threatens Bengal Cricket board

2008-07-17T15:35:36.716+05:30

Peeved at "some people in Bengal cricket" harassing his family, particularly his brother Snehashish, former India captain Sourav Ganguly on Thursday threatened to stop playing for the state.However, denying any fall-out with former ICC chief Jagmohan Dalmiya, who is fighting for the Cricket Association of Bengal (CAB) top post in the AGM on July 29, Ganguly said, "I've nothing against Dalmiya."

"I don't have any problem with him (Dalmiya) coming to power. My only concern is the problem to my family because of some CAB members. I can't tolerate this anymore. If they continue to talk bad things about my family, I'll certainly pull out from Bengal," Ganguly told reporters at his Behala residence.However, the left-hander said, this season he is "available for Bengal" who will fight it out in the Plate Division of Ranji Trophy.

However, a Bengali daily on Thursday quoted Ganguly as saying that he would stop playing for Bengal if Dalmiya comes back to power."During Dalmiya's time, I was dropped from the side and the lost the captaincy and if he again comes back to power, I'll face more difficulties. So it'll be better to leave Bengal in such a situation," Ganguly told the Bengali daily.



Inflation continues to climb, at 11.89 per cent

2008-07-17T15:30:59.296+05:30

India's wholesale price index rose 11.89 per cent in the 12 months to June 28, above the previous week's annual rise of 11.63 per cent, government data showed on Friday.The rate was also above a median forecast of 11.75 per cent in a Reuters poll of analysts, and is the highest since annual numbers in the current series became available in April 1995.

Inflation for the week ended May 3 was revised upwards to 8.73 per cent from 7.83 per cent.The annual inflation rate was 4.42 per cent during the corresponding week of the previous year.The wholesale price index is more closely watched than the consumer price index, which is published monthly, because it covers a higher number of products and is published weekly.



Infosys, TCS among most admired firms: WSJ survey

2008-07-17T15:29:00.914+05:30

IT majors Infosys, Tata Consultancy Services (TCS) and Wipro have emerged as the three most admired companies in India, while leading the list of most innovative firms are Bharti Airtel and ICICI Bank, according to a survey of the readers of Wall Street Journal Asia.As part of its efforts to determine Asia's 200 most admired firms, the Journal Friday released the list of India's 10 most admired companies as well as top 10 innovators.

Infosys has retained its position as the most admired company since 2000, while TCS has retained its second position since the previous survey in 2006 and Wipro has moved up one position from fourth.Bharti Airtel and Tata Steel appear at No. 4 and No. 5, followed by Larsen & Toubro, ITC, Tata Motors, HDFC Bank and Mahindra & Mahindra (M&M).
For innovation, Infosys, TCS and HCL Technologies are also in the top five, followed by Anil Ambani-led Reliance Communications, Wipro, Satyam, M&M and Hindustan Lever (now called Hindustan Unilever).

In individual categories, Infosys led in long-term vision, Larsen & Toubro in quality, Siemens India topped in corporate reputation and State Bank of India in financial reputation.
A total of 2,477 executives and professionals participated in the survey, which was conducted last year from May 11 to July 3.



BIGB(Amithab Bhachan) with Kamal in Marma Yogi

2008-07-11T22:34:46.005+05:30

(image)
Many of us eagerly what kamal is going to do in his marmayogi.The latest update on yet to be launched big budget movie Marmayogi is Bollywood Superstar Amitabh Bachchan's acceptance to do a meaty role in this movie. It has been confirmed that Marmayogi will have veteran Bollywood actress Hema Malini playing a prominent role. Now Kamal Hassan is trying to rope in the legendary actor for an interesting role.



(image) It can be recalled that plans were on to rope in the Big B for the Rajini starrer Shivaji. However he declined the offer. But he always disclosed his wish to play a full length Tamil film at once in his life. According to sources, Amitabh is yet to react for Kamal's offer but the latter is very much hopeful in getting his dates.




Google is Tracking its Users:

2008-07-10T18:38:21.447+05:30


Gmail gives users a choice to keep a given machine signed into their account so that they don’t have to retype their passwords each time when they want to check their mail. But this means if we forget to log off and when we check our mail at a public computer our email may be opened for any bypasser to read.

So Google is tracking its users to increase their privacy protection. Google has a practice of recording the Internet Protocol address of every computer that connects to its service. But now Google is adding one more feature that is monitoring of IP address and other data about users. Users of Gmail will soon have a option to see which computers are logged into their accounts and can read their e-mail
(image)

Similarly, if we are an advertiser on Google, where we pay for every click that users make on our ads, we might well be glad Google keeps records of the I.P. addresses of its users. That way we have at least one tool available to help us to detect if our rival is spending his spare hours clicking away on our ads.

Source: Erwin D’Souza, a Gmail engineer



New iPhone Features from Apple:

2008-07-10T18:33:46.163+05:30

(image) Bloggers referred the Apple’s iPhone as the “Jesus phone”. The Key features of the iPhone are Fast Browsing, Better Voice and Shorter Battery Life. It was a stunning black slab of glass: a cell phone, a brilliant music and video player and the best pocket Internet terminal the world had ever seen. The huge, bright, touch-sensitive screen made it addictive fun to rotate, page through or magnify your photos, videos and Web pages.

Today, the iPhone is in the hands of six million people. The new name hints at the biggest change: this iPhone can bring you the Internet much faster. It can exploit AT&T’s third-generation (3G) cellular network, which brings you Web pages in less than half the time as the old iPhone. 3G means we can talk on the iPhone and surf the Internet simultaneously, which we couldn’t do before. But the main drawback is we need 3G Network in our area.

(image)

For Indians we not yet started implementing 3G network in India. In USA itself only 16 states is covered by 3G Network. The other drastic change is the iPhone’s price: $200(Rs.8500 + Tax) for the 8-gigabyte model, $300(Rs 12750 + Tax) for the 16-gig. These are much cheaper price when compared to last year. Last Year an 8-gig iPhone would have cost us $600(Rs.25500 + Tax).
The third improvement is audio quality, which has taken a gigantic step forward. We sound crystal clear to our callers, and they sound crystal clear to us.
The other improvements are smaller, but most welcome are.
  • Gracefully curved, shiny plastic Pack
  • Standard headphone jack
  • Power adapter has been shrunk down to a one-inch cube
  • True GPS that shows our location on a map by analyzing nearby cell phone towers and Wi-Fi hot spots.
  • Scientific calculator
  • An address book search box, parental controls and instant language switching
  • The iPhone works better with corporate systems(ActiveSync, Microsoft, etc)
Free software upgrade is available called iPhone 2.0, which will be available to the six million original iPhone’s, starting from this weekend (Only in USA). For $10, even iPod touch owners can get this upgrade. Don’t hang around here and there so go off and purchase an iPhone to your Pockets.



Journey to My Cousin Marriage (Part One):

2008-07-10T06:53:02.125+05:30

The marriage was on 17th may between 9 and 10:30 at Marudhamalai temple in Coimbatore. On 16th morning my father and mother went with the bride family to Coimbatore by tempo Van. I was with my cousin (Brother of Bride) in his factory on that day.

My cousin was busy in shifting the mould in the bottle blower machine. The mould was fitted properly in the machine and started the machine. The bottle was obtained by blowing a hot preform releasing from the Owen. When he tested the bottle the bottom was weak. He changed the pressure, temperature and etc but the bottom was still weak. Old people used to say quickly done things will go wrong, same thing happened here. Since we want to reach Coimbatore soon he changed the settings of the machine quickly, but everything went vain.

At 1:30 Pm we started from the factory towards home in ALTO. We asked our uncle to buy lunch for us. We reached home by 2:30. We take bath and dressed neatly for the function. Then we took our lunch brought by uncle. Lemon Rice with a pickle and South Indian Sambhar is a great combination to eat. We finished our lunch and ready for the journey towards Coimbatore.



Posts for Placment- Encapsulation

2008-05-14T11:10:17.326+05:30

Hi my fellow readers, I am back to blogging after a successful completion of my course in BE: Computer Science. Now I am going to help my juniors in their placement activities by writing articles regarding their technical interviews.

Daily I am going to post about some topic which will be very interesting to the readers.
Today I am going to write about the Encapsulation.

Technical Definition:
Binding a data and code (functions, modules) into a single identity.

To explain technically we can take class as an example.

Class classname
{
Variable declaration: // Data
…………..
………….

Function declaration: // Code
………….
…………
}

So we have combined the data (variables) and code (functions) into a single Entity classes.

In real time the meaning of Encapsulation is

Binding any two activities into a single activity.

Example:

Vicks Action 500 is drug which cures both cold and Head Ache. Here the Vicks Action 500 drug is made of merging two drugs one curing head ache and another curing cold.

In next post we can see about pointers. I will make this pointer concept very easy to understand in next post.



Bye Bye To NO77,Kajalaxmi Nagar

2008-05-11T13:17:55.092+05:30

Two years back i have steeped into this house with my roommates raja and vinoth. We had lot fun in this room. We played in room with friends which are great fun. Fighting with house owner is our favorite time pass for not switching off motor.
Watching movie with our friends in the room was very fun. Specially group study during examination was very great. Whether we are studying or not we used to chat a lot. Now i am missing my friends and No77, Kajalaxmi Nagar.



Stinking Structures

2008-04-10T21:59:33.786+05:30

What is Structure?

Is it 36-26-36…

No, it is something different. Array is a collection of different types, but structure is collection of different data types.

Technically speaking Structure is allocates more memory.

Struct {

Int a,

Char c,

Float d,

};

It stores 2+1+4=7 bytes in memory. But if we use union we can reduce the memory space to 4 bytes.

Union allocate memory for the largest data i.e. here float size is 4 bytes so it allocates4 bytes.

Can Structure be declared within a structure?

Structure can be declared within the structure.

Struct date {

Int day, month, year;

};

Struct history

{

Char name [25];

Struct date;

};

Structure can also be declared as array of structures.