main()
{
int i=0;
while(+(+i--)!=0)
i-=i++;
printf(i);
}
Answers were Sorted based on User's Feedback
Answer / vinod
Error.... Cannot convert int to char error at printf(i). If they replaced printf(i) to printf("%d",i) then it would be -1.
| Is This Answer Correct ? | 1 Yes | 0 No |
What are the different types of pointers?
Write a program to print a (*)pattern programming (A to Z) in capital in one programming ?
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
related proverb of "dont count your chicken before it hatches"
What is the use of gets and puts?
main() { int age; float ht; printf("Enter height and age"); scanf("%d%d",&height,&age); if((age<=20)&&(ht>=5)) {printf("She loves you");} else {printf("She loves you");} }
What type is sizeof?
Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.
How to removing white spces in c programming only bu using loops
what is the difference between const char *p, char const *p, const char* const p
5 Answers Accenture, Aricent, CTS, Geometric Software, Point Cross, Verizon,
What is a memory leak in structures? How can we rectify that?
Explain how do I determine whether a character is numeric, alphabetic, and so on?