Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

You need to keep it in one line as shown below.

***

Qualification


***
10 months ago
Here is a possible solution:
***
*
package main
import "fmt"

func negate(myBool *bool) {
*myBool = !(*myBool)
}

func main() {
truth := true
negate(&truth)
fmt.Println(truth)

lie := false
negate(&lie)
fmt.Println(lie)
}
*
***
10 months ago
Here is the correct code:
***


Website






Sidebar

Main




***
10 months ago
The expected output is: **Hello World!**
10 months ago
Hi Aditi, Thanks for your patience.

Here is a solution code for the exercise:

***
#include

int main() {

char cities[4][10];
int i;
for(i=0;i<4;i++) {
fgets(cities[i], 10, stdin);
}

printf("%s", cities[2]);

return 0;
}
***
10 months ago
I hope the solution given below helps:

***
#include

int main() {

int x, y, z;
y = 10;
z = 99;

x = (z/(y+1))*11;

printf("Value of x is %d", x);

return 0;
}
***
10 months ago
Here you go:
***
let str1 = 'ambush';
let str2 = 101;
let str3 = false;

var str4 = str2 + ' ' + str3 + str1;
console.log(typeof str4);
***
10 months ago
Remove first console.log from your code.

Here is a working code:
***
let x = 10;
let y = 50;
let z = "10";

var xy = x >= y;
console.log(xy);

console.log(x === z);
***
10 months ago
Please read the instructions carefully. It says do not use brackets.
Here is an example:
***
console.log(typeof ghost);
***
10 months ago
Try with this code:
***
#include
int main() {
char st[13] = "Studytonight";
char frv[8] = "Forever";
printf("%s %s", st, frv);
return 0;
}
***
10 months ago
Try this code:

***
#include

int main() {

printf("Character Garbage value - %c\n");
printf("Double Garbage value - %lf\n");

return 0;
}
***
10 months ago