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 |
Is fortran still used in 2018?
implement general tree using link list
What are valid operations on pointers?
How can you read a directory in a C program?
why programs in c are running with out #include<stdio.h>? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }
how to count no of words,characters,lines in a paragraph.
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What is page thrashing?
How to receive strings with spaces in scanf()
in C-programming language without using printf statement can we get output r not ? if yes how and if no also how ?
How are variables declared in c?
What is the explanation for modular programming?