logo

Crowdly

Browser

Add to Chrome

Assuming that the user enters the value -1, what will the following program disp...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Assuming that the user enters the value -1, what will the following program display?

#include<stdio.h>

int main() {

int a;

scanf("%d", &a);

if (a < 10)

printf("a is less than 10\n");

printf("a is greater than 10\n");

return 0;

}

More questions like this

Want instant access to all verified answers on moodle.myefrei.fr?

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

Browser

Add to Chrome