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 |
in a town the percentage of men is 52 the percentage of total literacy is 48 if total percentage of literate men is 35 of the total population write a program to find the total no of the literate men and women if the population of the town is 80000
how 2 compile & execute c program with out using editor?
What is time complexity c?
Do you know what is the purpose of 'extern' keyword in a function declaration?
what is the difference between these initializations? Char a[]=”string”; Char *p=”literal”; Does *p++ increment p, or what it points to?
which of the function operator cannot be over loaded a) <= b)?: c)== d)*
10 Answers Cisco, CTS, Google, HCL, HP,
sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?
what is reason of your company position's in india no. 1.
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
In header files whether functions are declared or defined?
print the following using nested for loop. 5 4 3 2 1 1 2 3 4 3 2 1 1 2 1 2 1 1 2 3 4 3 2 1 1 2 3 4 5
can we print any string in c language without using semicolon(;)(terminator) in whole program.