to find out the reverse digit of a given number
Answer Posted / vaibhav
#include<stdio.h>
#include<conio.h>
void main()
{
int no, t;
clrscr();
printf("\nenter the no.");
scanf("%d",&no);
while(no!=0)
{
t=no%10;
no=no/10;
printf("%d",t);
}
getch();
}
| Is This Answer Correct ? | 23 Yes | 9 No |
Post New Answer View All Answers
Can we access the array using a pointer in c language?
List some applications of c programming language?
explain what is a newline escape sequence?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
Is c compiled or interpreted?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
can anyone suggest some site name..where i can get some good data structure puzzles???
What is call by value in c?
Explain 'bit masking'?
What are the 3 types of structures?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
Explain can you assign a different address to an array tag?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Who invented bcpl language?
Can we declare a function inside a function in c?