A
“a” will return the address location which the pointer is using, *a the value, &a the address where the address for a is stored. ...
What is the type of the variable b in the following declaration?
#define FLOATPTR float*
FLOATPTR a,b;
a) float b) float pointer c) int d) int pointer
Explain "passing by value", "passing by pointer" and "passing by reference"
In a circular singly linked list also it is possible to use the current pointer and delete all nodes. The pseudo code would be like this: while (curr != null){linkList *ptr = curr->next; free(curr);curr = ptr;} ...
Skill/Topic: Variables and PointersA) FalseB) TrueExplanation: A pointer is a variable and can be used as an element of a structure and as an attribute of a class in some programming languages such as
yeh, we can call pointer as a variable .it is used in some languages which supports its use.the datatype of pointer is of ptr,and not of datatype of the variable to which it is pointing. ...
Skill/Topic: Variables and PointersA) Address, PointerExplanation: A pointer to a pointer is a variable whose value is an address of another pointer variable
address,pointer ...
Skill/Topic: Variables and PointersA) arrange data by moving data in memoryB) arrange data by moving pointer in memoryC) arrange data without having to move data in memory.D) None of the aboveExplanation:
ans: C ...
pointer to constant: If a pointer is pointing to constant it is called as pointer to constant.In this case we cannot change the content of constant.eg : const int n=5; int *p=&n;in this case we cannot change the value of n.constant pointer: ...
C++ is an Object Oriented Programming Language is as we know , perfectly backword compatible with C. Becase of this backword compatibility .. it has got many flaws in it that prevented it to become a really good OOP language. Java was developped by ...
1 What is reference pointer?2 Which C features are not in C++?3 Write a program of spiral matrix.4 Write a program of magic square.
View page << Previous 1 2 3 [4] 5 6 7 8 9 10 Next >>

Go Top