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 / jeevitha
i-=i++ + ++i++
i-=41++
i-=42
i=20-42
i=-22
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is && in c programming?
what are the facialities provided by you after the selection of the student.
What are the types of macro formats?
Why is c faster?
Explain the difference between ++u and u++?
What is struct node in c?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
Do array subscripts always start with zero?
Is c is a middle level language?
how to make a scientific calculater ?
Difference between exit() and _exit() function?
What is the advantage of c?
What is static identifier?
Explain the array representation of a binary tree in C.
Explain what does the format %10.2 mean when included in a printf statement?