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
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Explain how can I convert a string to a number?
What is a structure and why it is used?
What is volatile, register definition in C
Who is the founder of c language?
What is the difference between c &c++?
What is volatile variable in c with example?
What is structure padding in c?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
What is pointer and structure in c?
What is the full form of getch?
What is the use of c language in real life?
Explain what is the benefit of using #define to declare a constant?
What does the message "automatic aggregate intialization is an ansi feature" mean?
How do you generate random numbers in C?