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 will be maximum number of comparisons when number of elements are given?
What is typedef example?
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)
How can I change their mode to binary?
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
What do header files do?
How can I get the current date or time of day in a c program?
Can a local variable be volatile in c?
Why do we use int main instead of void main in c?
What are the types of unary operators?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
What does do in c?
Distinguish between actual and formal arguments.
What is oops c?
Can we initialize extern variable in c?