Answered Questions

  • Honey Well Written Test -  C Questions

    I did not attempted the C paper but still I just had a look on C and java paper.  in C most of the question were programs and their out was  asked in LINUX environment.1)      int main()      {      char *a= "Novell";      char  *b;      b=malloc(10*sizeof(char));     ...

    ramubeedhimane

    • Jun 4th, 2006

    for 2nd question, o/p - helloworldhelloworld. ( this is the case on linux)because, execution of  first printf statment stores in buffer. fork , forks helloworld. thats why,&nb...

    gopi_ra

    • Mar 29th, 2006

    1. output is Novell2. output is Hello World World because after 1st printf fork is executed .This creates the child process so child will execute 2nd printf & oncemore  by parent process.Hence world is printed twice.