can we define a function in structure?
Answers were Sorted based on User's Feedback
Answer / 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 |
how to devloped c lenguege?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
how to TOGGLE Nth bit of variable in a MACRO
Explain what is the difference between a free-standing and a hosted environment?
hello everybody can we change a the adress of a variabl i mean can i put for exemple for a int *p: &p=6 ?????????
How to write a program for swapping two strings without using 3rd variable and without using string functions.
int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }
How can I read a directory in a C program?
2 Answers Bright Outdoor, Wipro,
Which of the following about the C comments is incorrect ? a.commentscan go over multiple lines b.comments can start any where in the line c.a line can contain comments with out any language statements d.comments can occur within comments
What are reserved words?
m=++i&&++j(||)k++ printf("%d"i,j,k,m)
What is property type c?