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
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What is void pointers in c?
Describe explain how arrays can be passed to a user defined function
What do you mean by command line argument?
Explain what does it mean when a pointer is used in an if statement?
What are qualifiers and modifiers c?
What are c identifiers?
Write a program to swap two numbers without using the third variable?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What is indirection? How many levels of pointers can you have?
What is a pointer in c plus plus?
What is a const pointer?
Explain how can I convert a number to a string?
What is zero based addressing?