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
What is pointer & why it is used?
What is a pointer value and address in c?
What are runtime error?
Write a program to swap two numbers without using the third variable?
what is uses of .net
What is the difference between Printf(..) and sprint(...) ?
write a program to print data of 5 five students with structures?
Why do we need a structure?
What are the uses of null pointers?
Do you know the use of fflush() function?
What is storage class?
Write a c program to demonstrate character and string constants?
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.
What is difference between %d and %i in c?
Differentiate between functions getch() and getche().