Consider the C Programming
#include<stdio.h>
void print (int n) {
if (n <= 0) return;
print(n--);
printf ("%d", n);
}
int main() {
print(5);
return 0;
}
#include<stdio.h>
void print (int n) {
if (n <= 0) return;
print(n--);
printf ("%d", n);
}
int main() {
print(5);
return 0;
}
👍11
Output will be?
Anonymous Quiz
41%
5, 4, 3, 2 , 1
19%
1, 2, 3, 4, 5
24%
Abnormal Terminate
16%
Error
👍10🔥1👏1😁1
Consider the following sample of numbers: 9, 18, 11, 14, 15, 17, 10, 69, 11, 13 The median of the sample is
(a) 14
(b) 13.5
(c) 12
(d) 11
(a) 14
(b) 13.5
(c) 12
(d) 11
👍10
Question of the day
A person sold two different items at the same price. He made 10% profit in one item, and 10% loss in the other item. In selling these two items, the person made a total of
(a) 1% profit
(c) 2% profit
(b) 1% loss
(d) 2% loss
👍12❤2
Question of the day
A rectangular paper of 20 cm × 8 cm is folded 3 times. Each fold is made along the
line of symmetry, which is perpendicular to its long edge. The perimeter of the final
folded sheet (in cm) is
(A) 18
(B) 24
(C) 20
(D) 21
👍4
Question of the day
We reached the station late, and ___ missed the train.
Answer.
(A) near
(B) nearly
(C) utterly
(D) mostly
👍5🥰3😁2
Question of the day
#include <stdio.h>
void count(int n) {
static int d = 1; // Initialize static variable
printf("%d ", n);
printf("%d ", d);
d++;
if (n > 1) {
count(n - 1);
}
printf("%d ", d);
}
void main() {
count(3);
}
👍10❤1
👍17🔥3😁3🤔1