what is pointer?
Answers were Sorted based on User's Feedback
Answer / guest
a pointer is a a variable that contains the address of an
another variable
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / gyanendra
Pointer is used to store address of any variable.
int a,*p;
p=&a//p store address of a
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / j naveen reddy
Pointer is a reference variable, as it refers the address of the other variable
| Is This Answer Correct ? | 0 Yes | 0 No |
Is it fine to write void main () or main () in c?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
what is difference between #include<stdio.h> and #include"stdio.h"
Which built-in library function can be used to match a patter from the string?
How can I access a memory located at certain address?
What are identifiers in c?
What is the use of pointers in C?
0 Answers Impetus, Motorola, Tavant Technologies, Virtusa,
void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..
Explain what is the concatenation operator?
find a number whether it is even or odd without using any control structures and relational operators?
22 Answers Microsoft, Shashank Private Limited,
How can I convert a number to a string?
Explain what a Binary Search Tree is.