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...


#include<stdio.h>
void main()
{
int =1;
printf("%d%d%d",a++,++a,++a);
}

Answers were Sorted based on User's Feedback



#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }..

Answer / sravani

i got the answer 1,3,4

Is This Answer Correct ?    5 Yes 1 No

#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }..

Answer / drashti

3

Is This Answer Correct ?    0 Yes 0 No

#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }..

Answer / stephen john

i got the answer is 3,4,4.
why?

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More C Interview Questions

C program code int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15

6 Answers   TCS, Wipro,


What is difference between %d and %i in c?

0 Answers  


Why is c called "mother" language?

0 Answers  


24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?

0 Answers  


How do c compilers work?

0 Answers  


how to find the given number is prime or not?

6 Answers   IMS, ING,


Difference between linking and loading?

0 Answers  


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

0 Answers  


How will you find a duplicate number in a array without negating the nos ?

0 Answers  


What is meant by errors and debugging?

0 Answers  


List the difference between a While & Do While loops?

0 Answers   Accenture,


main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(“%d”,x); }

8 Answers   Vector,


Categories