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...


Write a program to show the workingof auto variable.

Answers were Sorted based on User's Feedback



Write a program to show the workingof auto variable...

Answer / raj

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

Is This Answer Correct ?    10 Yes 1 No

Write a program to show the workingof auto variable...

Answer / shrikantauti

main()
{
auto int i,j;
printf("%d%d", i,j);
}

/*
output could look like:
1211 221
*/

Is This Answer Correct ?    6 Yes 3 No

Post New Answer

More C Interview Questions

What is the difference between null pointer and wild pointer?

0 Answers  


All technical questions

0 Answers   TCS,


Explain how can you tell whether a program was compiled using c versus c++?

0 Answers  


What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;

12 Answers   TCS,


The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

0 Answers  


how to find turn around time in operating system?

3 Answers  


What is local and global variable in c?

0 Answers  


post new interiew question and aptitude test papers

1 Answers  


What is an array? What the different types of arrays in c?

0 Answers  


Bit swapping

2 Answers  


How do I determine whether a character is numeric, alphabetic, and so on?

0 Answers  


What is call by value in c?

0 Answers  


Categories