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

How to print %d in output

6 Answers   Wipro,


What is the process of writing the null pointer?

0 Answers  


write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?

4 Answers  


What is #define?

0 Answers  


i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }

2 Answers  






What is meant by int main ()?

0 Answers  


Explain how to reverse singly link list.

0 Answers  


What is a char c?

0 Answers  


Stimulate calculator using Switch-case-default statement for two numbers

0 Answers   Wipro,


how to execute with out main in cprogram

15 Answers   Infosys,


Explain the difference between #include "..." And #include <...> In c?

0 Answers  


Given an unsigned integer, find if the number is power of 2?

5 Answers  


Categories