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


4. main()
{
int c=- -2;
printf("c=%d",c);
}



4. main() { int c=- -2; printf("c=%d",c); }..

Answer / dhanshri chabukswar

c=2

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....

2 Answers  


who did come first hen or agg

15 Answers   Infosys,


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

0 Answers   Wilco,


What are the advantages of using macro in c language?

0 Answers  


What are derived data types in c?

0 Answers  


Describe how arrays can be passed to a user defined function

0 Answers  


What do you mean by c?

1 Answers  


What is sizeof c?

0 Answers  


What are the 4 data types?

0 Answers  


what is volatile in c language?

9 Answers   Cap Gemini, HCL, Honeywell, TCS, Tech Mahindra,


what is the use of pointers

6 Answers   Adobe, GrapeCity,


What is difference between structure and union?

0 Answers  


Categories