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


struct tag{
auto int x;
static int y;
};main()
{
struct tag s;
s.x=4;
s.y=5;
printf(“%d”,s.x);
}

Answers were Sorted based on User's Feedback



struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(“%d”..

Answer / vishal soni

There is errors......
Because auto can't write in structure scope.... It is in functions

Is This Answer Correct ?    13 Yes 3 No

struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(“%d”..

Answer / prasha patel

4

Is This Answer Correct ?    6 Yes 7 No

Post New Answer

More C Interview Questions

Is c still used?

0 Answers  


How can I write functions that take a variable number of arguments?

0 Answers  


write a program to search for an element in a given array. If the array was found then display its position otherwise display appropriate message in c language

18 Answers   IT Park, TCS,


write a function that accepts an array A with n elements and array B with n-1 elements. Find the missing one in array B,with an optimized manner?

2 Answers   Zensar,


Explain how many levels deep can include files be nested?

0 Answers  


What is substring in c?

0 Answers  


whitch value return void main?

11 Answers  


with out using main how to execute the program?

2 Answers  


will u give me old quesrion papers for aptitude for L & t info tech?

1 Answers   Hindustan, L&T,


Compare interpreters and compilers.

0 Answers  


code for reverse alternate words from astring

1 Answers   IBM,


write the program for prime numbers?

73 Answers   Accenture, Aptech, Infosys, TCS,


Categories