Forum

Uninitialised Pointer

This thread contains 1 reply, has 2 voices, and was last updated by Nitesh User Do not delete 5 years, 2 months ago.

  • Author Replies
    • #53705

      What is an Uninitialised Pointer?


    • #53709

      1) The pointer p is uninitialized and focuses on a random location in memory when you proclaim it. It could be pointing into the framework stack, or the global variables, or into the program’s code space, or into the operating system.

      2) When we make a pointer the memory to the pointer is assigned however the substance or esteem that memory needs to hold stays immaculate.

      3) Uninitialized pointers are those pointers which don’t hold an underlying quality.

      Example
      int *p; is said to be an uninitialized pointer, it is prescribed to instate the pointer before really utilizing it as it an error.


      Regards,
      Nitesh Bavishiya

Viewing 1 reply thread

You must be to reply to this thread.Please or . Registration is 100% free.

GET FREE CONSULTATION

Call Us Now For Free Consultation97370 05566

Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.

SUBSCRIBE TO OUR NEWSLETTER

Copyright 2016-2024 Smart Mentors. All Rights Reserved.

Login

FORGOT PASSWORD

Sign up now to Become An Instructor

    Register your Interest

      cf7captchaRegenerate Captcha