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



struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(“%d”..

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

struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(“%d”..

Answer / prasha patel

4

Is This Answer Correct ?    6 Yes 7 No

Post New Answer

More C Interview Questions

Write a program that will read the input of any number of digits n in a row of shafh showing the breakdown of the printing and printing figures by the recursive function.

0 Answers  


which of 'arrays' or 'pointers' are faster?

5 Answers  


What is const volatile variable in c?

0 Answers  


write a program to generate address labels using structures?

0 Answers   SJC,


what is the significance of static storage class specifier?

0 Answers  






What is the significance of an algorithm to C programming?

0 Answers  


What are the 5 organizational structures?

0 Answers  


What is difference between union All statement and Union?

0 Answers  


What is the time and space complexities of merge sort and when is it preferred over quick sort?

0 Answers   Amazon,


What is the difference between File pointer and Internal Charecter Pointer?

2 Answers   TATA,


Write a program to find the given number is odd or even without using any loops(if,for,do,while)

4 Answers   CNC, Gokul,


write a c program for swapping two strings using pointer

0 Answers  


Categories