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
What is #include stdlib h?
What is data type long in c?
What is wrong with this statement? Myname = 'robin';
Here is a good puzzle: how do you write a program which produces its own source code as output?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What is %lu in c?
What is the value of c?
What is the role of this pointer?
Explain the use of 'auto' keyword in c programming?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What is the use of pointers in C?
What's the difference between constant char *p and char * constant p?
Why c is procedure oriented?