Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
 Discussions WorldJOBS @ DISCUSSIONSWORLD.COMLATEST 2009 PLACEMENT PAPERS - INDIA'S LARGEST COLLECTIONHP PLACEMENT PAPERS / HP INTERVIEW QUESTIONS


HP Sample Placement Paper (Technical - C & C++) Topic: HP Sample Placement Paper (Technical - C & C++)

Post Reply Post New Topic
Author Message
priyadash
Groupie
Groupie
Avatar

Joined: 14Aug2009
Online Status: Offline
Posts: 1
Quote priyadash Replybullet Topic: HP Sample Placement Paper (Technical - C & C++)
    Posted: 19Aug2009 at 11:11am
HTML clipboard

HP Sample Placement Paper (Technical - C & C++)

Question Consist of  4 parts.                  Duration of exam is 60 min.

  • C---------20Q

  • C++ ----15Q

  • Unix-----15Q

  • Apptitude--15Q

                             C  And C++

  1. i=23, j=4, c=0;
    c=i++-++j;
    o/p?

  2. #define CUBE(x)     x*x*x
    #define MUL3(x,y) 3*x*y
    #define ADD(x)       x+y
    some statement maikng use of the preprocessors defined above............find o/p.

  3. virtual destructors r used  for ?

  4. 2 questions on friend functions & classes

  5. char c[]="123456789";
     i=4;
    printf("%c %c", c, i[c]);
    o/p?
    one more question on these lines.

  6. int *ptr;
     p=0;
     p++;
     printf("%u", p);
     o/p?
    a. 0  b. garbage value  c. 4  d. none of the above

  7. double i=0.0;
     switch(i)
        {
          case 0.0: 
          printf("jgdj");
          case 1.0:
          printf("ptoy");
                 break;
        default:
               printf("hdfv");
    }
    o/p?

  8. volatile int i;
    in d above statement, is "volatile"
    a. a type declaration b. type qualifier c. storage class d. none of the above

                        Unix

  1. "bash" is a kind of shell in UNIX

  2. primitive flavours of unix
    options : a. BSD &Sys V b.
    LINUX & BSD c..

  3. which of the folllowing is used 4 redirection in UNIX?      >, |, <, ^

  4. wot is d UNIX terminology 4 multi-tasking?
    a. time slicing b. pre-emptive ....... c. time division d.......

  5. In UNIX if You try accessing a directory  for which u dont have permission, wot message is displayed?
    a. permission denied   b. invalid user    c. access denied 


 


IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum

GET LATEST FRESHERS JOBS IN YOUR MAIL
GET LATEST FRESHERS JOBS IN YOUR MAIL:




This page was generated in 0.141 seconds.
Privacy Policy | Terms and Conditions

Our Portals : Job Interview Questions | Placement Papers Academic Tutorials | Free eBooks | Beyond Stats | City Details | Job Interview Questions | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Indian Free Ads | Jobs Assist | Job Interview Questions | One Stop FAQs | One Stop GATE | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | Software Testing | Web Hosting | Dedicated Server in India | Quick Site Kit | Sirf Dosti | Source Codes World | Tasty Food | Testing Interview Questions | Free Online Exams | The Galz | Send Free SMS | Vyom | Vyom eBooks | Vyom International | Free Downloads | Vyoms | Vyom World | Clean Jokes