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

write a c program to print the next of a particular no
without using the arithmetic operator or looping statements?

Answer Posted / sumanta mahapatra

we can do dis using increment operator....
main()
{
int x,y;
x=5;
y=++x;
printf("%d",y);
}

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5698


What functions are used in dynamic memory allocation in c?

1119


What is pass by reference in c?

1239


What is structure padding and packing in c?

1124


What are the loops in c?

1051


Why do we use namespace feature?

1121


What does the function toupper() do?

1192


What is volatile keyword in c?

1086


What is function pointer c?

1189


What is the use of a ‘’ character?

1142


What is c mainly used for?

1118


How can I remove the leading spaces from a string?

1210


Explain how do you view the path?

1222


Describe the order of precedence with regards to operators in C.

1100


what are the 10 different models of writing an addition program in C language?

1942