struct tag{
auto int x;
static int y;
};main()
{
struct tag s;
s.x=4;
s.y=5;
printf(ā€œ%dā€,s.x);
}

Answer Posted / prasha patel

4

Is This Answer Correct ?    6 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

815


What is dynamic variable in c?

567


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

941


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1453


What is a macro, and explain how do you use it?

629






How can I discover how many arguments a function was actually called with?

635


When should the volatile modifier be used?

687


What is indirection? How many levels of pointers can you have?

659


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2578


Why static is used in c?

622


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

656


What does the function toupper() do?

657


What is the method to save data in stack data structure type?

607


What is %g in c?

620


What is the function of volatile in c language?

668