logo

Crowdly

Browser

Add to Chrome

Coding Café

Looking for Coding Café test answers and solutions? Browse our comprehensive collection of verified answers for Coding Café at dle.plaksha.edu.in.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

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

View this question
Select all correct statements concerning arrays in C:

0%
0%
0%
0%
0%
View this question
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.
View this question

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%
View this question

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

0%
0%
0%
0%
View this question
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%
View this question

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. 

View this question

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. 

View this question

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. 

View this question

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.

View this question

Want instant access to all verified answers on dle.plaksha.edu.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome