Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Tech Answered Logo Tech Answered Logo
Sign InSign Up

Tech Answered

Tech Answered Navigation

  • Home
  • Tutorials
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Blog
  • Contact Us
Home / Questions /Q 2468
Next
In Process
Namrata
Namrata

Namrata

  • India
  • 15 Questions
  • 14 Answers
  • 2 Best Answers
  • 71 Points
View Profile
  • 0
Namrata
Asked: June 23, 20212021-06-23T20:43:20+05:30 2021-06-23T20:43:20+05:30In: C Language

What Is A “null Pointer Assignment” Error? What Are Bus Errors, Memory Faults, And Core Dumps?

  • 0

What Is A “null Pointer Assignment” Error? What Are Bus Errors, Memory Faults, And Core Dumps?Is there any way to overcome these errors? if yes what are the ways and how can we do it?

and core dumps?bus errorscore dumps?memory faultsnull pointer assignmentwhat are bus errorswhat is "null pointer assignment" error?
  • 1
  • 723
  • 0
  • 0
Answer
Share
  • Facebook

    Related Questions

    • c keep asking for input how to write a program that asks user input
    • How do you find the factorial of a number in C using while loops?
    • What is OOPs concept in C++ with examples?
    • What is the use of github?
    • How to fix broken commit
    • in turbo c how to change the cursor
    • How to print all characters from a string in C.

    1 Answer

    1. Krishna Vijayan

      Krishna Vijayan

      • India
      • 8 Questions
      • 218 Answers
      • 9 Best Answers
      • 1 Point
      View Profile
      Krishna Vijayan
      2021-10-13T17:47:56+05:30Added an answer on October 13, 2021 at 5:47 pm

      Here are the explanations to your query about Null Pointer Assignment Error, Bus Errors, Memory Faults And Core Dumps in C language:

      • Null Pointer Assignment Error: A NULL pointer assignment is a runtime error It occurs due to various reasons one is that your program has tried to access an illegal memory location. Illegal location means either the location is in the operating systems address space or in the other processes memory space. In stdio.h NULL is defined as 0 So whenever your program tries to access 0th location the operating system kills your program with runtime assignment error because the 0th location is in the operating systems address space and operating system doesn’t allow access to its address space by user program .
      • Bus Error: A bus error indicates an attempt to access memory in an illegal way, perhaps due to an unaligned pointer. A ‘bus error’ is certain undefined behavior result type. The cause for such error on a system could not be specified by the C language. The memory accessibility which CPU could not address physically, ‘bus error’ occurs. Also, any fault detected by a device by the computer system can also be a ‘bus error’. These errors caused by programs that generate undefined behavior which C language no longer specifies what can happen.
      • Core Dump/ Segmentation Fault: Core Dump/Segmentation fault is a specific kind of error caused by accessing memory that does not belong to you. When a piece of code tries to do read and write operation in a read only location in memory or freed block of memory, it is known as core dump. It is an error indicating memory corruption.

      Hope this answer helped. Also read, How to find factorial of a number in C

       

      • 1
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    Related Questions

      • Answers: 0

      c keep asking for input how to write a program

      I want to write a C program if the user to input something which a given condition. For example I want to write the user  put a real number. Until user inputs real number C program should ask for the

      • Answer: 1

      How do you find the factorial of a number in

      I got to see programming assignment where I need to find factorial for a given number.  How do we find the factorial of a number in C using while loops? And there was a condition like I should only use loops

      • Answers: 2

      What is OOPs concept in C++ with examples?

      Iam a "c"  language learning now, because of this reason I want information about opps concept in C++ with examples? Please give me a answer this question

      • Answer: 1

      What is the use of github?

      What is the use of Github? Can we use Github? uses of Github? How to use Github? Who uses GitHub?

      • Answer: 1

      How to fix broken commit

      How do I fix my broken commit? How to fix a broken commit?  Can I fix the broken commit? Fixing broken commit?

    Stats

    • Questions 1,824
    • Answers 1,911
    • Posts 7
    • Best Answers 70

    Recent Questions

      • Answer: 1

      Is it possible to remove all watched videos on my

      I want to delete all the watched  videos on YouTube in a single click. Is

      • Answer: 1

      how to get job in usa from India

      I completed my computer science degree from India. My wish is to work in USA.

      • Answer: 1

      How to get back lost Snapchat streak successfully

      Me and my friend on Snapchat usually have good Snapchat streak score. We used to

      • Answer: 1

      How to delete all YouTube 'watch later' videos at once?

      When I check my watch later playlist on YouTube app there are thousands of videos.

      • Answer: 1

      How to remove TV Plus from a Samsung TV?

      There are future from Samsung TV plus and and I don'twant that feature channels of

    Explore

    • Home
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help

    Footer

    Recent Comments

    • shree on Is it possible to remove all watched videos on my YouTube watch later list? How?
    • Alex on how to get job in usa from India
    • Reach on How To Use GTA SA-MP
    • dynamicapps5 on How to get back lost Snapchat streak successfully
    • Venkat on How to delete all YouTube ‘watch later’ videos at once?
    Ask A Question

    Archives

    Tags

    laptop buying guide (1) laptop buying key points (1) laptop choosing points (1) points to remember for buying laptop (1) things to consider before buying laptop (1)

    Social media

    © 2021 @ Techanswered.com.
    Terms, Privacy policy & Sitemap.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.