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
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
What functions are used in dynamic memory allocation in c?
What is pass by reference in c?
What is structure padding and packing in c?
What are the loops in c?
Why do we use namespace feature?
What does the function toupper() do?
What is volatile keyword in c?
What is function pointer c?
What is the use of a ‘ ’ character?
What is c mainly used for?
How can I remove the leading spaces from a string?
Explain how do you view the path?
Describe the order of precedence with regards to operators in C.
what are the 10 different models of writing an addition program in C language?