Home  
 
  Ask Questions  
 
  Feed Back  
 
  My Questions  
 
  Contact Us  
 
  About Us  
 
 Interview Questions  
 Our Services  

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies

  • NEW INTERVIEW QUESTIONS.COM LANGUAGES INTERVIEW QUESTIONS C INTERVIEW QUESTIONS DETAILS


    NewInterviewQuestions.com - Home for World's Largest Interview Questions Website.

    A D V E R T I S E M E N T




    Add to My Questions Add to My Questions | Forward Forward | Print Print


    Question Question What is a ?null pointer assignment? error? What are bus errors, memory faults, and core dumps?
    Answer Answer These are all serious errors, symptoms of a wild pointer or subscript.

    Null pointer assignment is a message you might get when an MS-DOS program finishes executing. Some such programs can arrange for a small amount of memory to be available ?where the NULL pointer points to? (so to speak). If the program tries to write to that area, it will overwrite the data put there by the compiler.

    When the program is done, code generated by the compiler examines that area. If that data has been changed, the compiler-generated code complains with null pointer assignment.

    This message carries only enough information to get you worried. There?s no way to tell, just from a null
    pointer assignment message, what part of your program is responsible for the error. Some debuggers, and some compilers, can give you more help in finding the problem.


    Bus error: core dumped and Memory fault: core dumped are messages you might see from a program running under UNIX. They?re more programmer friendly. Both mean that a pointer or an array subscript was wildly out of bounds. You can get these messages on a read or on a write. They aren?t restricted to null pointer problems.

    The core dumped part of the message is telling you about a file, called core, that has just been written in your current directory. This is a dump of everything on the stack and in the heap at the time the program was running. With the help of a debugger, you can use the core dump to find where the bad pointer was used.

    That might not tell you why the pointer was bad, but it?s a step in the right direction. If you don?t have write permission in the current directory, you won?t get a core file, or the core dumped message.


    © NewInterviewQuestions.com


    If you have the better answer, than send it to us. We will display your answer after the approval.
    Answer Answer:*
    Name Name:*
    Email Address Email Address:*
         Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
     


    Rate the above answer. Help us to know about the answer.
    Category Category C Interview Questions
    Rating Rating (4.3) By 14 users
    Added Added 10/22/2004
    Views Views 163695
    Rate it Rate it!
    Free Offers Free Offers: 300 Free Magazines for you. No credit card required. No Shipping Charges. Absolutely Free for 1 Year.

    Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

    Notify me when better answer is posted!
    Email:


    A D V E R T I S E M E N T





     Sponsors  
    Latest 10 Answers
    Restricted mode is a mode of DB where instance is started and only DBA can access the instance.
    It is nothing but an electronic devices used for connecting any wireless applications.
    SQRW, cmd line, process schedular.
    Moving from one BTS to another BTS with out dropping the call is called HANDOVER but it is only used in GSM, in case of CDMA we use HANDOFF mechanism.
    ALL THE FACTORS WHICH ARE AFFECTING THE HUMAN RELATIONS OF A COMPANY IS UNDER THE DEFINITION OF HUMAN RESOURCE.
    Use Regularexpression Validator and custom the format what you want set to that text box.
    int count1s =0; while(num != 0){ if(num & 1 == 1){ count1s++; } num= num>>1; } printf("%d", count1s);
    use regular expression validation.
    Using datasets,we can get the data and to display we can use the grid view.
    Accounts payable is where the payment is made regarding payment to the invoices/bill.

    Newinterviewquestions.com is a part of Vyom Network. Top



    Copyright © 2009, newinterviewquestions.com. All rights reserved Privacy Policy | Terms and Conditions

    Page URL: http://www.newinterviewquestions.com/interview/994/Default.asp?cachecommand=bypass


    Download Yahoo Messenger | Web Hosting