#include<stdio.h>
main()
{int i=1;j=1;
for(;;)
{if(i>5)
break;
else
j+=1;
printf("\n%d",j)
i+=j;
}
}
Answer Posted / fa
1
1
1
1
1
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Can we declare function inside main?
What is extern variable in c with example?
Write the Program to reverse a string using pointers.
What are the types of data types and explain?
What is the purpose of & in scanf?
How do I read the arrow keys? What about function keys?
How to compare array with pointer in c?
What is fflush() function?
What is the process of writing the null pointer?
How do you print only part of a string?
What is meant by errors and debugging?
What is the use of printf() and scanf() functions?
What is atoi and atof in c?
What is the translation phases used in c language?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......