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
What is keyword with example?
What is main () in c?
FILE PROGRAMMING
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
When should I declare a function?
Process by which one bit pattern in to another by bit wise operation is?
what is the role you expect in software industry?
What is meant by type casting?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
Is c procedural or functional?
How can I ensure that integer arithmetic doesnt overflow?
Write a program to generate random numbers in c?
Differentiate between #include<...> and #include '...'
What is calloc()?
What is the sizeof () a pointer?