Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is preprocessor with example?

1070


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

2376


how to capitalise first letter of each word in a given string?

1936


What should malloc() do?

1179


What is omp_num_threads?

1092


What are the 4 types of programming language?

1136


What is hashing in c language?

1325


How do we declare variables in c?

1078


What is the use of c language in real life?

1031


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1539


What is the purpose of macro in C language?

1127


What is self-referential structure in c programming?

1227


How is null defined in c?

1162


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.

1289


What is the difference between memcpy and memmove?

1044