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 |
Is c still relevant?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer
Explain how can you tell whether two strings are the same?
write a c programme for add of two numbers with out use of arthematic operators
What does *p++ do? What does it point to?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
WAP – represent a char in binary format
how can i include my own .h file EX:- alex.h like #include<alex.h>, rather than #include"alex.h"
write a program to interchange the value between two variable without using loop
/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }
What is equivalent to ++i+++j?