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

is it possible to create your own header files?

640


What do you mean by c what are the main characteristics of c language?

572


what does static variable mean?

655


What is FIFO?

676


What is local and global variable in c?

616






Sir i need notes for structure,functions,pointers in c language can you help me please

1945


Explain logical errors? Compare with syntax errors.

629


What are pointers? Why are they used?

631


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

592


Is c still relevant?

639


What does 3 periods mean in texting?

600


What is pass by reference in c?

615


Explain the difference between ++u and u++?

640


What is the condition that is applied with ?: Operator?

663


What is calloc malloc realloc in c?

594