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

main()
{
int i;
for(i=0;i<5;i++)
printf("%d",1l<<i);
}
why doesn't 'l' affect the code??????

Answer Posted / c.p.senthil

In 1l, 'l' converts number 1 from int to long int.
It is a valid expression

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointer & why it is used?

1128


What is a pointer value and address in c?

1139


What are runtime error?

1145


Write a program to swap two numbers without using the third variable?

1079


what is uses of .net

1743


What is the difference between Printf(..) and sprint(...) ?

1551


write a program to print data of 5 five students with structures?

2056


Why do we need a structure?

1055


What are the uses of null pointers?

1133


Do you know the use of fflush() function?

1069


What is storage class?

1087


Write a c program to demonstrate character and string constants?

2203


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

5253


What is difference between %d and %i in c?

1248


Differentiate between functions getch() and getche().

1060