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 preprocessor with example?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
how to capitalise first letter of each word in a given string?
What should malloc() do?
What is omp_num_threads?
What are the 4 types of programming language?
What is hashing in c language?
How do we declare variables in c?
What is the use of c language in real life?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
What is the purpose of macro in C language?
What is self-referential structure in c programming?
How is null defined in c?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
What is the difference between memcpy and memmove?