Untold Coding
32.2K subscribers
177 photos
5 videos
4 files
227 links
|| जय श्री राम ||
#100dayschallenge
Sharing HTML, CSS and JS magic
Join our Creative Journey!🎉
Download Telegram
Output of above program is ?
Anonymous Quiz
24%
ABCD4
14%
ABCD 4
21%
4
40%
ABCD
Untold Coding
Char ch = 21;
ch = ch<<3;
printf("%d",ch); What is the output ( ) //Ignore typing error
In this question we use formal a×2^k and
-(2^n -k) here k is the number and n is the no. of bit

Therefore
We have n = 8 , (char size)
K = 21

- ( 2⁸ -168) = - (256-168)
= -88
#include <stdio.h>
int main() {
int i = -1;
for (++i; i++; i++)
printf("Untoldcoding");
return 0;
}
How many time loop will executed ?
Anonymous Quiz
26%
0
15%
1
53%
Infinity
6%
2
Consider the following C program:

#include <stdio.h>
int main( )
{
int i, j, k = 0;

j=2*3/4+2.0/5+8/5;

k -= --j;

for (i=0; i<5; i++)
{
switch(i+k)
{
case 1:

case 2: printf("\n%d", i+k);

case 3: printf("\n%d", i+k)

default: printf("\n%d", i+k);

}

}
return 0;
}
How many number of times printf statement executed?
Anonymous Quiz
35%
5
22%
9
33%
10
10%
11
How many quiz needed in a day ?
Anonymous Poll
22%
1
78%
2
#include <stdio.h>

int main()

{
int i;
for(i=1; i<=10; i++){
if(i>5){
break;
}
}
printf("%d",i);

return 0;
}
How many times printf will executed?
Anonymous Quiz
34%
4
34%
5
20%
6
12%
11
Output will be?
Anonymous Quiz
40%
A
28%
B
27%
C
5%
D
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;

}
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
Answer?
Anonymous Quiz
21%
A
61%
B
11%
C
6%
D
Please open Telegram to view this post
VIEW IN TELEGRAM