what is pointers
Answers were Sorted based on User's Feedback
Answer / ramya
pointer is a memory variable that stores the address of the
another variabe
| Is This Answer Correct ? | 55 Yes | 0 No |
Answer / arun
A pointer is a programming language data type whose value
refers directly to (or "points to") another value stored
elsewhere in the computer memory using its address.A pointer
references a location in memory, and obtaining the value at
the location a pointer refers to is known as dereferencing
the pointer.
| Is This Answer Correct ? | 21 Yes | 5 No |
Answer / umashankar mishra
pointer is a variable which is used to store the adress of
another variable
syntax:
int *ptr
* symbole is used to defined the pointer
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / p.madhupriya
pointer is a variable that points to address of another variable
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / durgesh jaiswal
pointer is a memory variable which holds the address of another variable.........
syntax-*ptr
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / backiya
pointer is a memory variable...
it's stored address in another new variable
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramesh bhumarapu
Pointer is a Reference Variable...
which contains address of another variables
| Is This Answer Correct ? | 0 Yes | 0 No |
tell about copy constructor
What is design patterns in C++?
write a program for function overloading?
14 Answers HCL, InfoCity, TATA,
pointers are support in C#? if yes then how to use it?
8 Answers Softvision Solution,
What is inheritance and how many types of inheritance?
What is memory leak and memory corruption?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
What is encapsulation example?
#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What are properties in oop?
what is the new version of oops