Here is website link : https://www.hackerrank.com/skills-verification
Join our WhatsApp channel or group for more updates
https://chat.whatsapp.com/G6q3SsT2tXBFiSEvSwSjIj
Link is in bio 📍❤️
Join our WhatsApp channel or group for more updates
https://chat.whatsapp.com/G6q3SsT2tXBFiSEvSwSjIj
Link is in bio 📍❤️
HackerRank
Join over 23 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews.
Char ch = 21;
ch = ch<<3;
printf("%d",ch); What is the output ( ) //Ignore typing error
ch = ch<<3;
printf("%d",ch); What is the output ( ) //Ignore typing error
Anonymous Quiz
27%
34
24%
-88
14%
-68
35%
18
What is the output of this program?
#include <stdio.h>
int main() {
printf("%d", printf("ABCD"));
return 0;
}
#include <stdio.h>
int main() {
printf("%d", printf("ABCD"));
return 0;
}
Untold Coding
Char ch = 21;
ch = ch<<3;
printf("%d",ch); What is the output ( ) //Ignore typing error
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
-(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
Untold Coding
#include <stdio.h> int main() { int i = -1; for (++i; i++; i++) printf("Untoldcoding"); return 0; }
Think and give answer ... In quiz
Untold Coding
#include <stdio.h> int main() { int i = -1; for (++i; i++; i++) printf("Untoldcoding"); return 0; }
Please open Telegram to view this post
VIEW IN TELEGRAM
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;
}
#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;
}
#include <stdio.h>
int main()
{
int i;
for(i=1; i<=10; i++){
if(i>5){
break;
}
}
printf("%d",i);
return 0;
}
int main()
{
int i;
for(i=1; i<=10; i++){
if(i>5){
break;
}
}
printf("%d",i);
return 0;
}
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;
}