struct tag{
auto int x;
static int y;
};main()
{
struct tag s;
s.x=4;
s.y=5;
printf(ā%dā,s.x);
}
Answer Posted / vishal soni
There is errors......
Because auto can't write in structure scope.... It is in functions
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
How to write c functions that modify head pointer of a linked list?
What are variables and it what way is it different from constants?
Why does this code crash?
Can we change the value of static variable in c?
Is c pass by value or reference?
What is structure in c language?
What is substring in c?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
write a program to concatenation the string using switch case?
What are void pointers in c?
What is break statement?
What is LINKED LIST? How can you access the last element in a linked list?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above