main()
{
int i;
for(i=0;i<5;i++)
printf("%d",1l<<i);
}
why doesn't 'l' affect the code??????
In 1l, 'l' converts number 1 from int to long int.
It is a valid expression
| Is This Answer Correct ? | 2 Yes | 0 No |
Explain how can you check to see whether a symbol is defined?
WHAT IS INT?
why do we use # in c-language?
Write a program to identify if a given binary tree is balanced or not.
how to implement stack work as a queue?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
I have a varargs function which accepts a float parameter?
How can you determine the maximum value that a numeric variable can hold?
what is the c source code for the below output? 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1
Explain what math functions are available for integers? For floating point?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
#include<stdio.h> int fun(); int i; int main() { while(i) { fun(); main(); } printf("hello \n"); return 0; } int fun() { printf("hi"); } answer is hello.how??wat is tat while(i) mean?