Java is used (especially in Internet) without pointers so that the address of the document cannot be fetched by others. ...
Yes, Java definately supports POINTERS . But we are not using them externelly. the Java Runtime Environment (JRE) will take care of it. Generally it always a tough task to use pointers by the users. In order to overcome this Java developers make the pointers ...
Main(){ int i, j, *p; i = 25; j = 100; p = &i; // Address of i is assigned to pointer p printf("%f", i/(*p) ); // i is divided by pointer p}
A) Compile errorB) 1.00000C) Runtime error.D) 0.00000Explanation: Error because i/(*p) is 25/25 i.e 1 which is int & printed as a float, so abnormal program termination, runs if (float) i/(*p) ----->
I am sorry the 2 part of the above answer is wrong..... I confused long pointer with far pointerSIze of long pointer and char pointer will be the same ...
pointer is used to store the address of given variable
A pointer is a variable, which contains the address of another variable ...
Far pointers are mainly used for 32 bit addressing that is the segment offset addressing. Normal pointers can onLy access the memory locations which is allocated by the compiler for that program. Far pointers are used for referencing memory locations ...
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
Choose the correct option
Hi,I agree with Ashtosh , since linked list nodes are stored dynamically in memory wherever it has space so the simple addition wont give track of nodes but a junk value.we can construct this only by combining two pointer nodes for single data value.its ...
Why don\'t we add null pointer at the end of array of integer?How can we calculate the length of array of integer?
Yes pointer size is always that of size of word on a particular architecture.Actually pointer only contains starting address of a data type, there after how many bytes we have to read (e.g. 1 for char, 2 for int) depends upon type of pointer declared. ...
View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Go Top