What will be the output of the following program
#include<stdio.h>
void main()
{
int i=20;
i-=i+++++i++;
printf("%d",i);
}
Answer Posted / j mahesh
i=20
i++ + ++i =20 + 21=41
i-=41
i=i-41 =20-41
i= -21
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is hungarian notation? Is it worthwhile?
What is define c?
What is %d called in c?
How can I prevent another program from modifying part of a file that I am modifying?
What are the 4 types of functions?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
Is a house a shell structure?
Why doesnt this code work?
List some of the static data structures in C?
What is an operator?
Explain b+ tree?
What is a loop?
How can you find the day of the week given the date?
What is bss in c?