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 identifiers in c with examples?
Is int a keyword in c?
in b=6.6/a+(2*a+(3*c)/a*d)/(2/n); which operation will be performed first a) 6.6/a b) 2*a c) 3*c d) 2/n
What is the output of the following program main();{printf ("chennai""superkings"}; a. Chennai b. superkings c. error d. Chennai superkings
When should a type cast be used?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
how to print value of e(exp1)up to required no of digits after decimal?
how to write a cprogram yo get output in the form * *** ***** ******* ********* ******* ***** *** *
how to swap two nubers by using a function with pointers?
Why we use void main in c?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
can we change the default calling convention in c if yes than how.........?