i want to make a program in which we use input having four
digits(4321) and get output its reciprocal(1234).
Answer / fcuker
#include <stdio.h>
int main() {
int x;
scanf("%d", &x);
while (x > 0) {
printf("%d", x % 10);
x = x / 10;
}
return 0;
}
| Is This Answer Correct ? | 7 Yes | 0 No |
#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } what will happen if you executed this code?
Write a program in c using only loops to print * * * * * *******
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
In header files whether functions are declared or defined?
How do you list a file’s date and time?
Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()
How to declare a variable?
What is a pointer and how it is initialized?
write a program to compare 2 numbers without using logical operators?
Explain the use of keyword 'register' with respect to variables.
Why malloc is faster than calloc?
what does data structure mean?