Best Answer

Make sure a password has been set on the computer and make sure its one that you know is easy to memorize but hard for others to find out. firewall - software firewall is a program that is stored into the computer which protects the computer from unauthorized incoming and outgoing data. virus protection program - that helps stop or detect and fix virus problems from happening.

User Avatar

Wiki User

โˆ™ 2016-11-21 03:41:16
This answer is:
User Avatar
Study guides
See all Study Guides
Create a Study Guide

Add your answer:

Earn +20 pts
Q: How to prevent unauthorized memory access in c?
Write your answer...
Related questions

How do you access memory dynamically in c plus plus?

You access memory with a pointer or a reference to the memory. To allocate memory dynamically, use calloc or malloc (C or C++) or new (C++ only).

What is called pointers-c plus plus?

A pointer in C++ is the same as a pointer in C -- it is a variable that is used to store a memory address and which allows indirect access to that memory address. When a pointer is not in use, it must be zeroed or nullified by assigning the NULL value, thus preventing indirect access to invalid memory.

How does C programming give access to low level memory?

Define 'low level memory' first.

What allows faster access- RAM ROM or virtual memory a. ROM b. Virtual Memory c. RAM d. All of the above?


What type of computer memory is used to load programs and transfer files during your work sessions A desktop backup drive B Random Access Memory RAM C Quick Memory QM?


How does memory cache speed up computer processing A Cahce memory doesn't need to be refreshed so access time is faster B Cache memory refreshes instantly so acess time is faster. C Cache memory uses?


Why c is called middle level language?

1) Using inline assembly language functions feature in C we can directly access system registers. 2) C programming also supports high level language features. 3) C Programming is used to access memory directly using pointer.

What is the memory management operator in c plus plus?

There is no memory management operator in C++ -- it is an unmanaged language. You use the C++ new operator to allocate memory, and use the C++ delete operator to release previously allocated memory.

Mention any two features omitted from java but present in c?

# Manual memory allocation/deallocation # (Semi-) direct access to registers

Is c language is a low language?

C language is a middle level language, a middle language is one which somehow allows you to access your computer memory directly. Where as Java and C# are completely highlevel language as they dont allow you to directly access your computer memory, Assembly Language is said to be the low level language as it allow the the direct access of memory. you can read more on C language here: Actually, there are no 'middle level languages', machine code and Assembly is low level, everything else is high level. And of course you cannot break out from your virtual memory space using C (or any other language). It is called 'protected mode' for a reason.

What is a dangling pointer in C and C plus plus?

A dangling pointer is one that points to a memory location but the memory itself has been freed or released back to the system. The memory may still contain valid information, but the system can overwrite the data at any time so any attempt to access that memory via the dangling pointer could prove disastrous. As soon as memory is released, the pointer is invalid -- because the memory it points to is potentially invalid. To prevent this, always nullify pointers (set them to point at memory address zero) when they are no longer required, immediately after releasing the memory they point to. There are occasion when this is not necessary, such as when releasing a member pointer in a class destructor, but if a pointer is re-used, it must be initialised before being accessed again.

Did c plus plus has pointer concept?

Yes, C++ has pointers, which are references to memory locations. which are variables that store memory addresses, or NULL (zero). If the pointer is non-NULL, the pointer is said to dereference the object (or variable) residing at the stored memory address, which permits indirect access to that object so long as the object remains in scope.

How do you Access MS Access from C?

You do not access MS Access from C you do it from windows by using MS Access api calls. MS Access does not run on a computer running Linux, QNX or DOS etc. but they can all be programmed in C

What are new and delete operators in c plus plus?

New and Delete are the memory management operators in c++,like c language we use malloc() and calloc() functions to allocate memory and free() functiong to release the memory similarily we use new to allocate memory in C++ and Delete to release the allocated memory....

What are the differences between C and Java reference variables?

Java does not have the concept of Reference Variables. We cannot access the memory location where the data is stored in Java.

Why C language is popular for graphics programming?

State-of-the-art graphics is usually pushing the boundaries of CPU and memory capacity as graphics become more and more visually impressive. C and C++ allows for very fast code by giving programmers access to low-level operations (such as pointer arithmetic, memory management, etc).

Why c is called a mid level language?

Being a high level language like java..., C supports direct access to memory as assembly language (which is a low level language) . So C is called mid level language

What is pointer to an object in c plus plus?

A pointer is simply a variable that stores a memory address. Thus a pointer to an object is simply a variable that stores the memory address of an object. Since pointers are variables, they require memory of their own. Pointers may also be constant, which simply means you cannot change what they point to. Pointers can also be dereferenced to provide indirect access to the memory they point to -- hence they are known as pointers. However, unlike C, pointers are not the same as references. In C++, a reference is simply an alias for a memory address and requires no storage of its own.

Where the heap memory is allocated in c?

Main Memory (RAM).

At what time the memory is allocated for variable in c and c?

Static memory allocation occurs at compile time where as dynamic memory allocation occurs at run time.

How can you connect to a database such as Oracle or Access in C?

U need to find the DRIVER for C language that will connect to Oracle or Access Database and then access that driver through C program.

How you can access data member inside the main program in c plus plus programming language?

In Windows you can use the CreateFileMapping API to create shared memory in one program, and OpenFileMapping to access that memory from another program. For a more generic approach, consider using disk files, pipes or messages.

What do you mean by access specifier in c?

There are no access specifiers in C. All functions and data are public.

What is meant by contiguous memory allocation in C?

Contiguous memory allocation in C programming refers to the assigning of consecutive memory blocks to a process. Contiguous memory allocation is one of the oldest and most popular memory allocation schemes in programming.

Can you dynamically allocate arrays in expanded memory in c?

yes, In C its possible to allocate array in expanded memory at run time