logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1555208 total)

How many times would the do...while loop (lines 6-9) run when the program is run successfully?

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

The user-defined function used by the program takes a float number as an argument and returns nothing.

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

0%
0%
0%
0%
0%
Переглянути це питання
Within a sentence, state what the above program does.

Переглянути це питання
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.
Переглянути це питання
How many times does the for loop run in this specific program?

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

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

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

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

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

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%
Переглянути це питання
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%
Переглянути це питання