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 |
how can we use static and extern?and where can we use this?
Why malloc is faster than calloc?
write a program to remove duplicate from an ordered char array? in c
Hi Every one...........I have been selected for the SBI Clerk. But i m one month Pregnanat. So anyone please suggest me, is they take any objection on my joining .
4 Answers State Bank Of India SBI,
What is difference between function overloading and operator overloading?
Write a program to print this triangle: * ** * **** * ****** * ******** * ********** Don't use printf statements;use two nested loops instead. you will have to use braces around the body of the outer loop if it contains multiple statements.
what is the code for getting the output as * ** ***
Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d
write a program in c language to print your bio-data on the screen by using functions.
What is structure pointer in c?
What is integer constants?
Q.11 Generate the following pattern using code in any language(c/c++/java) for n no. of rows 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1