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 difference between i++ and ++i?

Answer Posted / vinay

if they are used stand alone they are same ....

both increment the value of operand by 1

if they used in an expression then they will perform same
as mentioned in above answers...

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain pointers in c programming?

1063


What are compound statements?

1084


What is %lu in c?

1180


In a switch statement, explain what will happen if a break statement is omitted?

997


Why is struct padding needed?

1031


How do you generate random numbers in C?

1146


about c language

1961


What does calloc stand for?

1087


What is a volatile keyword in c?

1112


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1067


Explain the difference between malloc() and calloc() function?

988


What are header files in c?

1021


find the sum of two matrices and WAP for it.

1068


Is it better to bitshift a value than to multiply by 2?

1050


What are multidimensional arrays?

1062