Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the use of ‘auto’ keyword?

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


Please Help Members By Posting Answers For Below Questions

diff between exptected result and requirement?

2070


Which is the memory area not included in C program? give the reason

1956


What does %c mean in c?

1106


What are linker error?

1106


What is boolean in c?

1099


can we have joblib in a proc ?

2317


What does sizeof int return?

1093


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.

1985


Explain what does it mean when a pointer is used in an if statement?

1077


What the advantages of using Unions?

1239


What is the significance of c program algorithms?

1157


Explain what is the difference between null and nul?

1170


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1983


What is the purpose of & in scanf?

1085


Is null valid for pointers to functions?

1190