Choose Your Language
Hartron Important Questions Part 7 | HARTRON EXAM

Hartron Important Questions Part 7

Q:(J) What is a Bookmark? How do you insert in a document?

Ans:-

The definition of bookmark in MS Word is a specific word, section, or location in your Word document that you want to name and identify for future reference. … (Just use the bookmark, and you can quickly and easily jump to the text.) Addingbookmarks in Word is also easy.)
(1.) Select text, a picture, or a place in your document where you want to insert a bookmark.
(2.) Click Insert > Bookmark.
(3.) Under Bookmark name, type a name and click Add. (Note: Bookmark names need to begin with a letter.) (They can include both numbers and letters, but not spaces.)

Q:(K) What is Pointer? (What is the difference between pointer_ variable and simple variable?)

Ans:-

Pointer are the reference variable that are used to store the address of another variable. (A Pointer in C is used to allocate memory dynamically i.e.) at run time. (The pointer variable might be belonging to any of the data type such as int, float, char, double, short etc.)
(1.) Example: int *p;
(2.) Where, * is used to denote that “p” is pointer variable and not a normal variable.

Pointer:-

(1):-A Pointer variable holds the address or the memory location of another variable or another pointer variable.

(2):-The general form of an ordinary variable declaration is :
Syntax : Datatype Identifier;
Example : int x;

(3):-The general form of initializing a variable is:-
Syntax : Variable = Value;
Example : int x;
x = 10;

Variable

(1):-A Variable holds a value as per the specified datatype( like int, float or char)

(2):-The general form of a pointer variable declaration is :
Syntax : Datatype *PtrVaribale;
Example : int *ptr;

(3):-The general form of initializing a pointer variable is:
Syntax : PtrVariable = &Variable;
Example: int x, *p;
p = &x;

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: