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 c standard library?
What is a stream?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
What is difference between scanf and gets?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
How pointers are declared?
What are the advantages of using macro in c language?
What are the salient features of c languages?
How to get string length of given string in c?
how to find anagram without using string functions using only loops in c programming
What is hashing in c language?
How can I read data from data files with particular formats?
What is %lu in c?
What are global variables?
How can you read a directory in a C program?