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



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

Answer / 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

More C Interview Questions

where are auto variables stored? What are the characteristics of an auto variable?

0 Answers  


What is linear search?

0 Answers  


What is infinite loop?

0 Answers  


How do you write a program which produces its own source code as its output?

2 Answers  


How do I swap bytes?

0 Answers  


Write a program to print all permutations of a given string.

0 Answers   JPMorgan Chase,


WHAT IS MEANT BY LIFE?

2 Answers  


What oops means?

0 Answers  


Can you think of a way when a program crashed before reaching main? If yes how?

2 Answers  


Can a variable be both constant and volatile?

0 Answers  


how can write all 1to 100 prime numbers using for loop,if and break ?

2 Answers   TCS,


what is event driven software and what is procedural driven software?

0 Answers  


Categories