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

how to swap 2 numbers within a single statement?

Answer Posted / ratishchandra huidrom

if(c=a&&a=b&&b=c)printf("%d %d",a,b);

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can you check to see whether a symbol is defined?

1205


Explain what does a function declared as pascal do differently?

1299


Explain the advantages of using macro in c language?

1004


Can you write a programmer for FACTORIAL using recursion?

1047


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

1058


Write a program to print factorial of given number without using recursion?

996


What language is c written?

1055


a value that does not change during program execution a) variabe b) argument c) parameter d) none

1238


How do we make a global variable accessible across files? Explain the extern keyword?

1884


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1910


Can you tell me how to check whether a linked list is circular?

1430


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

1218


largest Of three Number using without if condition?

1606


What is unsigned int in c?

1007


Which function in C can be used to append a string to another string?

1222