logo

Crowdly

Browser

Додати до Chrome

Coding Café

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

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

Explain within a sentence or two the overall approach being taken to solving the problem.
Переглянути це питання

Which of the following function declarations (also called as "function prototypes") are valid?

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

#include <stdio.h>

int main() 

{

    int i = 0;

    while (i < 5) {

        if (i % 2 == 0)

        {

                putchar('*');

                continue;

        }

        printf("%d ", i);

        i++;

    }

    return 0;

}

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

Function calls that return void may not be used as a part of an expression. 

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

The following function would not compile correctly:

void func(int x, int y)

{

  int z;

  scanf("%d", &z);

  return z;

}

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

How many times does the while loop run?

#include <stdio.h>

int main()

{

  int i = 1;

  while (i <= 5)

    printf("%d ", i++);

  putchar('\n');

  return 0;

}

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

The principles of top–down design and structured programming dictate that a program should be divided into a main module and its related modules. 

100%
0%
Переглянути це питання
Which of the following loop statements is/are valid in C?

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

Which of these statements is/are true?

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

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;

}

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

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

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

Browser

Додати до Chrome