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 |
while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?
What is information technology.
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
The differences between Windows XP and Windows Visa
du u know test pattern for robosoft? Plz share
1 Answers RoboSoft, TATA, Wipro,
What is substring in c?
Write a program that receives as input a number omaadel-n-print, four digits.
Write a program to display the no of bit difference between any 2 given numbers eg: Num1 will 12->1100 Num2 will 7->0111 the difference in bits are 2.
What is the meaning of this decleration? unsigned char (*pArray[10][10]); please reply.
write a programme to enter some number and find which number is maximum and which number is minimum from enterd numbers.
How can we allocate array or structure bigger than 64kb?