logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1580057 total)

All of the following are inputs to the aggregate

production planning process

except .....

0%
0%
0%
0%
Переглянути це питання
What will be the output of the following code?

#include <iostream>

using namespace std;

int main() {

    bool a = true, b = false;

    cout << (a && b) || !(a || b);

    return 0;

}

88%
0%
0%
13%
Переглянути це питання
What will be the output of the following code?

#include <iostream>

using namespace std;

int main() {

    int arr[] = {1, 2, 3, 4};

    int *ptr = arr;

    ptr = ptr + 2;

    cout << *(ptr - 1) << " " << *ptr;

    return 0;

}

100%
0%
0%
0%
Переглянути це питання
What will be the output of the following code?

#include <iostream>

using namespace std;

int main() {

int arr[] = {10, 20, 30, 40};  

int *ptr = arr;  

cout << *(ptr + 2);

    return 0;

}

0%
100%
0%
0%
Переглянути це питання
What will be the output of the following code?

#include <stdio.h>

#include <stdlib.h>

#include <iostream>

#include <string.h>

using namespace std;

int main() {

    int num = 45, num2;

    char str1[10], str2[10];

    sprintf(str1, "%d", num);

    strcpy(str2, str1);

    strcat(str2, "AD");

    sscanf(str2, "%x", &num2);

    printf("Converted number: %x\n", num2);

    return 0;

}

0%
9%
91%
0%
Переглянути це питання
What will be the output of the following code?

#include <iostream>

using namespace std;

int main() {

    int num=0x1234567;

    unsigned char *byte_ptr = (unsigned char *)&num;

    for (int i = 0; i < sizeof(num); i++) {

        cout << hex << +byte_ptr[i] << " "; }

    return 0;

}

0%
0%
100%
0%
Переглянути це питання
Which protocol is used for secure communication over the Internet?
100%
0%
0%
0%
Переглянути це питання
What will be the output of the following code?

#include <iostream>

using namespace std;

int main() {

    int a = 5;

    cout << a++ * ++a;

    return 0;

}

0%
0%
100%
0%
Переглянути це питання
What will be the output of the following code?

#include <iostream>

using namespace std;

int main() {

    int i = 1, iterations = 0;

    while (i <= 10) {

        iterations++;

        i *= 2;           }

    cout << iterations;

    return 0; }

0%
0%
100%
0%
Переглянути це питання
What will be the output of the following code?

#include <iostream>

using namespace std;

int main() {

    int x = 3, y = 5, z = 7;

    cout << x++ * ++y + --z * x-- / ++y;

    return 0;

}

0%
100%
0%
0%
Переглянути це питання