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 |
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is structure padding ?
program to locate string with in a string with using strstr function
12344321 123 321 12 21 1 1 how i print this program??
5 Answers DSR Management, Winit,
what is Array?
Why is sprintf unsafe?
Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates
Do pointers store the address of value or the actual value of a variable?
main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }
What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack
What is sizeof return in c?
5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function