logo

Crowdly

Browser

Додати до Chrome

Coding Café

Шукаєте відповіді та рішення тестів для Coding Café ? Перегляньте нашу велику колекцію перевірених відповідей для Coding Café в dle.plaksha.edu.in.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

What is the output of the following program that compiles correctly? (Hint: When evaluating logical operators, the compiler ignores the remainder of the expression when it is sure of the final answer at any point of evaluation of the sub-expression - something often referred to as "short-circuit evaluation". This is a cryptic hint, I know, but enjoy unravelling it and discovering its meaning and implication!)

#include <stdio.h>
int main()

{

int a= -2, b= -1, c = 0, d = 1, e = 2;

int r1, r2;

r2 = a++ || ++b || c++ || ++d || e;

r1 = a && b++ && ++c && d++ && ++e;

printf("%d %d %d\n", r1,r2,a+b+c+d+e);

return 0;

}

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

The address operator (&) is used to tell the compiler to store data at an address. 

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

Which of these data types is/are detected by the

compiler as erroneous?

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

What would be the output of the following correctly compiling program?

#include <stdio.h>

int main()

{

int a = 5;

int b = !!a;

printf("%d %d\n",a, b);

}

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

To compile a C

program named "hello.c" using a GNU C compiler, which command

would you use?

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

Given

the formula for motion

d = ut + ½at2

, which of the following

correctly calculates d?

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

Which

of the following statements about the sizeof() operator in C is true?

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

Which of the following vim editor commands is correctly matched with its function?

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

What is the difference between rm and rmdir?

Переглянути це питання
What command should be used at the command prompt of your Windows/Linux/Mac machine to connect to the Unix server we use for the course? Assume the login name of the user is u20241999.
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на dle.plaksha.edu.in?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome