HR interview Interview Programming Puzzles

#include
int main(){
int a,fact=1;
scanf("%d",&a);
for(i=1;i<=a;i++)
{
fact=fact*i;
}
printf("%d",&fact);
}}

Read Solution (Total 2)

HR interview Other Question

What is the remainder when 6^17 + 17^6 + 169^235 is divided by 7? Priya has a box that looks like a stack and she does the following operations on empty box
PUSH(8)
PUSH(7)
POP
PUSH(1)
PUSH(3)
A. 31_8
B. 8_1_7
C. 8_1_
D. None of these