Write a program to show the workingof auto variable.

Answer Posted / raj

#include<stdio.h>
main()
{
auto int n=0;
{
int n=1'
printf("%d",n);
}
}

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of ?

640


What is structure pointer in c?

588


What is the correct declaration of main?

692


what is reason of your company position's in india no. 1.

1786


State the difference between x3 and x[3].

663






What tq means in chat?

603


Why static is used in c?

634


What is meant by recursion?

640


In c language can we compile a program without main() function?

590


How many bytes are occupied by near, far and huge pointers (dos)?

684


Is exit(status) truly equivalent to returning the same status from main?

599


Which type of language is c?

660


What is the difference between a string and an array?

716


What is structure padding in c?

637


which is conditional construct a) if statement b) switch statement c) while/for d) goto

749