WRITE A PROGRAM TO FIND A REVERSE OF TWO NO

Answer Posted / priya

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
printf("\nEnter Two no. ");
scanf("%d%d",&a,&b);
printf("\nBefore Reverse %d%d",a,b);
printf("\nAfter Reverse %d%d",b,a);
getch();
}

Is This Answer Correct ?    2 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1508


Explain the use of bit fieild.

698


Which header file is used for clrscr?

565


How will you find a duplicate number in a array without negating the nos ?

1629


What is the purpose of main( ) in c language?

606






Write a program to swap two numbers without using a temporary variable?

595


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

723


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

1722


What is omp_num_threads?

566


What is the difference between declaring a variable and defining a variable?

708


Explain the priority queues?

608


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1851


Explain how do you determine a file’s attributes?

584


What is the difference between %d and %i?

580


What is pre-emptive data structure and explain it with example?

3194