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
diff between exptected result and requirement?
Which is the memory area not included in C program? give the reason
What does %c mean in c?
What are linker error?
What is boolean in c?
can we have joblib in a proc ?
What does sizeof int return?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
Explain what does it mean when a pointer is used in an if statement?
What the advantages of using Unions?
What is the significance of c program algorithms?
Explain what is the difference between null and nul?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What is the purpose of & in scanf?
Is null valid for pointers to functions?