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 is the output of below

int n=10;
(n++)++;
printf("%d",n);

Answer Posted / kirankumaryakkala

ans. error:Lvalue required
why? Lvalue means leftside assignment value,
here, first it goes to increment on N, again it is going to
increment, before going to increment second time, you should
allocate one varibale that holds the first time increment
value, other wise from where to it increment...

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between Structure and Unions?

1185


State two uses of pointers in C?

1009


Explain what is a 'locale'?

1016


Not all reserved words are written in lowercase. TRUE or FALSE?

1181


Is this program statement valid? INT = 10.50;

1083


What are linker error?

1037


What is the use of function overloading in C?

1100


What are the application of void data type in c?

1133


What is the difference between text files and binary files?

1283


What is && in c programming?

1112


Is int a keyword in c?

906


Subtract Two Number Without Using Subtraction Operator

781


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

2392


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

977


write a program to find the given number is prime or not

4656