Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / gunabalan
void main()
{
int i=1;
e:
printf("%d\t",i);
i++;
if(i<=100)
goto e;
}
| Is This Answer Correct ? | 36 Yes | 12 No |
Post New Answer View All Answers
program to convert a integer to string in c language'
Do string constants represent numerical values?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
Explain why c is faster than c++?
Explain bit masking in c?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What is the size of empty structure in c?
Explain how can I convert a number to a string?
What does 4d mean in c?
What are the three constants used in c?
When should the volatile modifier be used?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
application attempts to perform an operation?