Saturday, August 20, 2011

C++ Interview questions and answer

C++ Interview questions and answers
Define structured programming.
Structured programming techniques use functions or subroutines to organize the programming
code. The programming purpose is broken into smaller pieces and organized together using
function. This technique provides cleaner code and simplifies maintaining the program. Each
function has its own identity and isolated from other, thus change in one function doesnít affect
other.
Explain Object oriented programming.
Object oriented programming uses objects to design applications. This technique is designed to
isolate data. The data and the functions that operate on the data are combined into single unit.
This unit is called an object. Each object can have properties and member functions. You can call
member function to access data of an object. It is based on several techniques like
encapsulation, modularity, polymorphism, and inheritance

Google+ vs Facebook






It is three weeks old and still not out of the labs but Google+ already boasts over 10 million users. What's drawing in the new fans? 


Unabashed imitation of Facebook's key inventions and a clutch of great innovations of its own. 


Here's a feature by feature comparison of the newest social networking rivals. 


Posts vs Wall 
/photo.cms?msid=9253368
/photo.cms?msid=9253369






A blatant copy: G+ posts are styled like FB's except one addition: you can disable reposts (they're like retweets) and comments right there. 


Stream vs News Feed 
/photo.cms?msid=9253402
/photo.cms?msid=9253403




Remove the signature Facebook Blue and you can't tell Stream from Feed. Imitation is the best form of flattery. Or maybe an admission Google couldn't think better? 


Circles vs Lists 
/photo.cms?msid=9253420
/photo.cms?msid=9253422




A winner for G+. 'Circles' are groups to categorise people you know and share posts, feeds or photos exclusively. Basic Circles like 'Friends' and 'Family' are preloaded but you can create your own. (Think 'work monsters'). Compared with this, FB's Lists is plain boring. 


Hangout vs Video call 
/photo.cms?msid=9253457
/photo.cms?msid=9253461




The cracker. Hangout allows up to 10 people to video chat together. Tiny feeds of buddies line up the bottom of your screen with a big image of the person talking. There's a window for text chats and a button for watching YouTube . FB's latest one-on-one video chat just doesn't make the cut. 


+1 vs Like 
/photo.cms?msid=9253482
/photo.cms?msid=9253484




There is something about saying I 'Like' that just isn't in I '+1'. But Google is using it to make its search social too. 
/photo.cms?msid=9253506

/photo.cms?msid=9253519