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 the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
Write a program to print the prime numbers from 1 to 100?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
Can you apply link and association interchangeably?
struct node {struct node*temp,*new} prinf("%d",sizeof(struct node));
Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +
What is the meaning of 2d in c?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What does int main () mean?
Why does this code crash?
What are the storage classes in C?
What is the output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
21 Answers ADITI, Student, TCS,