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
Why static is used in c?
Why should I use standard library functions instead of writing my own?
How does pointer work in c?
What is a static variable in c?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
Explain what are linked list?
Tell us the use of fflush() function in c language?
How do I get a null pointer in my programs?
What are types of functions?
What is the purpose of the preprocessor directive error?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What is #define in c?
What is double pointer in c?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What is difference between %d and %i in c?