Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


where do we use structure pointer?



where do we use structure pointer?..

Answer / naveen shukla

we uses structure pointer when we have to point to the whole
object and we can access all the values of the data in the
object.
when we want to keep the reference of the structure variable

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

Suppose I want to write a function that takes a generic pointer as an argument and I want to simulate passing it by reference. Can I give the formal parameter type void **, and do something like this? void f(void **); double *dp; f((void **)&dp);

1 Answers  


WHAT IS HEADER?

8 Answers   ProKarma, TCS,


main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }

2 Answers  


what is the height of tree if leaf node is at level 3. please explain

0 Answers  


How can we allocate array or structure bigger than 64kb?

2 Answers   CSC,


What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.

11 Answers   TCS,


Tell me when would you use a pointer to a function?

0 Answers  


Explain what are its uses in c programming?

0 Answers  


What is difference between main and void main?

0 Answers  


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

0 Answers  


#include<stdio.h> main(0 { printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3)); }

4 Answers   HCL,


write a reverse string to print a stars.(with out using logic) ***** **** *** ** *

2 Answers  


Categories