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 |
print out of string in this format; 1. "rajesh" 2. \n 3. %d
what r the cpu registers r ther?
Hai why 'c' is the middle language
While(1) { } when this loop get terminate is it a infinite loop?
a c code by using memory allocation for add ,multiply of sprase matrixes
What is property type c?
What are different types of variables in c?
what is the difference between static variable and register variable?
what is a void pointer?
what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }
why little endian and big endian came?y they using differently? y they not used commonly ?wt is application of little and big ?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers