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 will be maximum number of comparisons when number of elements are given?

1849


What is typedef example?

1112


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2277


How can I change their mode to binary?

1051


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

5157


What do header files do?

1020


How can I get the current date or time of day in a c program?

1166


Can a local variable be volatile in c?

937


Why do we use int main instead of void main in c?

1100


What are the types of unary operators?

1128


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1186


What does do in c?

991


Distinguish between actual and formal arguments.

1013


What is oops c?

1116


Can we initialize extern variable in c?

1076