struct tag{
auto int x;
static int y;
};main()
{
struct tag s;
s.x=4;
s.y=5;
printf(“%d”,s.x);
}
Answers were Sorted based on User's Feedback
Answer / 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 |
What is property type c?
how the compiler treats any volatile variable?Explain with example.
How to calculate Total working time using Login and logout?
2 Answers CTS, Cygnus, Infosys, Signal Networks, TCS, Wipro,
What are the application of void data type in c?
What does main () mean in c?
Given a piece of code int x[10]; int *ab; ab=x; To access the 6th element of the array which of the following is incorrect? (A) *(x+5) (B) x[5] (C) ab[5] (D) *(*ab+5} .
Find greatest number out of 10 number without using loop.
Is struct oop?
Compare interpreters and compilers.
What is extern keyword in c?
Why cd or dvd are round why not square.
When should volatile modifier be used?