logo

Crowdly

Browser

Додати до Chrome

Coding Café

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

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

At which line number is there a function invocation (function call) of a user-defined function?

Переглянути це питання
Select all correct statements concerning arrays in C:

0%
0%
0%
0%
0%
Переглянути це питання
In class, we discussed several ways of writing an improved version of the program for CGPA calculation. Mention any one way that would greatly minimise any data input inconsistencies from the user end, and would make the program generic enough to calculate the CGPA of any university.
Переглянути це питання

Consider the piece of code:

for (i = 1, sum = 0; i <= 5; i++) 

sum += i * i;

Which of the following statements is true?

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

A line such as #define MAX 4 that appears in a C program is:

0%
0%
0%
0%
Переглянути це питання
As you know, control goes into the while loop, if the expression evaluates to be true. Any non-zero value maps to a true in C. Given these, which of the following options is equivalent to the statement:

while (numb != 0) { }

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

Write a program that initialises an array of 5 integers and stores values in them using a for loop. 

  • Modify the program from the question above to now ask the user to enter N integers using the keyboard and store them in a one-dimensional array of type integers. Also, print the square of each array element using a for loop. You can take the value of N from the user ensuring that 0 < N <= 100. 

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

Write a function called isFound() that takes a list of N integers as input from the user (N is also user input), and an integer X to search for in the list. After storing the list in an array, the program counts and prints the frequency of occurrence of X in the list. 

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

Execute the program executable by typing /home/sharing/cc/4-1 at the command prompt. Write a program to print such a pattern, which is generalisable for any number of lines. 

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

Write a function called isPalindrome() that takes an integer and checks if it is a “palindrome” or not. For instance, the numbers 747, 4, and 12421 are palindromes, while 52, 124, and 766 are not palindromes. If the number is a palindrome the function should return 1, otherwise it should return 0.

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

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

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

Browser

Додати до Chrome