Campus Recruitments
 
 
Google Plus Suggest a Friend Facebook Us E-Brochure Blogs Shop
 
 
  •  
  •  
    ZENSAR - 1  

    1. if(fp == fopen(\"dfas\",\"r\") = = NULL), what is the value of fp
       a. NULL
       b. 0
       c. 1
       d. 0 or 1

    2. #define sqr(x) x*x, what is value of j if j == 2 * sqr(3 + 4)

    3. #define FILENAME (extension) test_##extension, how will it print FILENAME (back)
    a. test back
    b. test_#back
    c. test_##back
    d. ??

    4. char *p == \"hello world\"
    p[0] == \'H\', what will be printf(\"%s\", p);
    a. Hello world
    b. hello world
    c. H
    d. compile error

    5. int fun (), how do u define pointer to this function??

    6. what is meant by int (* xyz)[13]

    7. What is true from
    a. base call reference is compatible with child class
    b. child class reference is compatible with base class
    c. no reference to class
    d.??

    8. class b
      {
        }
      class a
         {
         friend class b
        }
    then what is true?
    a. a can access all protected and public members in b
    b. b can access all protected and public members in a
    c. a can access all members of a
    d. b can access all members of b

    9. What is the output
     #include
      main()
          {
       int n=0;
       int i;
       i=2;
      switch(1)
           {
           case 0:do{
           case 1:n++;
           case 2:n++;
          }
               while(--i>0);
        }
            printf(\"n==%d\",n);
            }

         a. compile error
         b. 4
         c. 1
         d. 0

    Mathematics

    10.Two liquids A: B in ratio 7:5 and now 24 gallons drain out and b is added the ratio becomes 5:7 what is container capacity? 30, 48 , 84, none

    11. Man has rope of length 660 mtr to fence an area, what is the max area he can fence?

    12. Son is about to celebrate 10th birthday. After 11 years his age will be half the average of his parents. His mother is 17 years older to him. What is the age of the father?

    13. Avg of 6 no is 8 what 7 th no should be added to make Avg 10;

    14. Difference of cube of a no and its square is a perfect square, what is the no. -> 5

    15. Difference of three consecutive no’s square and the no’s is 214; find the no’s :

    back  
     
       home | about us | solutions | services | resumes | contact us | blogs | sitemap
    all rights reserved
     
     
    disclaimer : All trademarks are the property of the respective trademark holders.None of the trademark holders are affiliated with this website.