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
How many bytes are occupied by near, far and huge pointers (dos)?
What is c method?
I have a varargs function which accepts a float parameter?
What is the use of a conditional inclusion statement in C?
What is auto keyword in c?
What is oops c?
What is the difference between single charater constant and string constant?
Are local variables initialized to zero by default in c?
Why flag is used in c?
explain what are actual arguments?
What are the two forms of #include directive?
How does placing some code lines between the comment symbol help in debugging the code?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What's a good way to check for "close enough" floating-point equality?
What is the difference between array_name and &array_name?