Tuesday, 30 October 2012

Lipta Inc interview Questions

1)  Pointer to a constant sting and constant pointer difference (*p="Vector"  & p[7]="Vector")

2)    double f=89.9;
         printf"("%f", f);
        try with %g and %e ,%d also and check the o/p;

3)   which one should be used in case of constructor ?
        pointer /refrence parameter
   
          And Explain why?,supporting your answer.

4)  Explain copy constructor

5)    printf("%s","abcdefgh[4]);
        check with %c and %d

6)  Task control block(PCB)
        where it is created????
        when it destroyed ???   
       
7) If you have to design some task,,what  SCI's will you require???
        He asked like " I want to design one task ......what will i need??

8) Write a prototype of pthread_creat()

0 comments:

Post a Comment