Answer Posted / vatsava
scope of the auto keyword is local to the block in which
the variable is defined.
for ex:
main()
{
auto int i=1;
{
auto int i=2;
{
auto int i=3;
printf("%d",i);
}
printf("%d",i);
}
printf("%d",i);
}
the op would be 321
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Explain why can’t constant values be used to define an array’s initial size?
What is an arrays?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
Why c is called a middle level language?
Is c is a low level language?
largest Of three Number using without if condition?
main() { printf("hello"); fork(); }
Do pointers store the address of value or the actual value of a variable?
Describe the modifier in c?
How can I do graphics in c?
What is the symbol indicated the c-preprocessor?
Explain how can a program be made to print the line number where an error occurs?
Is c language still used?
What is the difference between functions abs() and fabs()?
Write a code to generate a series where the next element is the sum of last k terms.