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...

can we define a function in structure?

Answer Posted / anandhi

structure is nothing but user defined data types...
structure used then more then one datatypes used in single
strud\cture...
syntax:
struct [struct_name]
{
datatype var1;
...
...
};
struct variable creation:
syntax:
struct [name]
{
...
...
}[struct var_name];
[struct var_name].variablename;
.......................................
ex:

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is echo in c programming?

976


Explain what are its uses in c programming?

1028


Explain the difference between strcpy() and memcpy() function?

959


How to implement a packet in C

2847


code for quick sort?

1989


What are local variables c?

969


what are the 10 different models of writing an addition program in C language?

1858


how many key words availabel in c a) 28 b) 31 c) 32

1019


Under what circumstances does a name clash occur?

1168


What is indirection? How many levels of pointers can you have?

1098


What is structure packing in c?

1033


What does the && operator do in a program code?

1169


Is null a keyword in c?

1150


What is structure pointer in c?

1003


Explain high-order and low-order bytes.

1057