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?



write a c program to print the next of a particular no without using the arithmetic operator or loo..

Answer / 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

More C Interview Questions

Explain what is wrong with this statement? Myname = ?robin?;

0 Answers  


What is the memory allocated by the following definition ? int (*x)();

2 Answers   ADITI,


What character terminates all strings composed of character arrays? 1) 0 2) . 3) END

3 Answers  


Explain what is the benefit of using an enum rather than a #define constant?

0 Answers  


What does nil mean in c?

0 Answers  


What does the file stdio.h contain?

0 Answers  


Why is sprintf unsafe?

0 Answers  


How do you print only part of a string?

0 Answers  


advantages of pointers?

3 Answers  


Explain what is a program flowchart and explain how does it help in writing a program?

0 Answers  


Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)

1 Answers  


how to count no of words,characters,lines in a paragraph.

0 Answers  


Categories