1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
DanielleElmas [232]
3 years ago
15

What does this call to strcmp return?

Computers and Technology
1 answer:
Murljashka [212]3 years ago
3 0

Answer:

The correct for the given question is option(c) i.e .-1.

Explanation:

Strcmp() function is used to compare the two string .it compare the string character by character strcmp() function return the three value on comparison.

(1) if string 1 is equal to string 2  it return 0;

(2) it return>0 if  string1  has greater ASCII value than string 2

(3) it return <0 if  string1  has smaller ASCII value than string 2

In the given code strcmp returns -1 value the ASCII code of character 'A' has smaller then ASCII code  'X';

Following are the program of given code

#include<stdio.h>// header file

#include<string.h>

int main() // main method

{

 char x;

x =strcmp( "ABCD", "XXX" );

printf("%d",x);

return 0;

}

Output:-1

You might be interested in
Internet privacy refers to the level of information sharing on the web collected through web cookies, caches, and browsing histo
Zanzabum

The level of information sharing on the web that are mainly collected through web cookies, caches, and browsing history of a web browser is referred to as Internet privacy: True.

A web browser can be defined as a software program that is typically designed and developed for viewing a HTML document or browsing the Internet.

An Internet privacy refers to the level of privacy protection an end user has while browsing the Internet, especially with reference to the vast range of protocols, technologies, and frameworks (concepts) that are deployed.

This ultimately implies that, Internet privacy relates to the level of information sharing on the web that are mainly collected on a web browser through the following means:

  • Web cookies
  • Caches
  • Browsing history

Read more: brainly.com/question/3840341

6 0
2 years ago
I need help on this question , what is web feed ?
Whitepunk [10]

Answer:

C. a data format delivering web content that is updated frequently

Explanation:

8 0
3 years ago
Read 2 more answers
QlVEQkNjQWdERnpsSnJnVkJIMDVSbWtDK2ttZ1RSQzNEejJESkNhT20raEhqTWR3UFNINnVpaGk3YjhW
Misha Larkins [42]
Sure, it says "Hulk smash on keyboard"
8 0
3 years ago
| The entire hostname has a maximum of
Varvara68 [4.7K]

Answer:

255 characters.

8 0
4 years ago
What type of image digital image is shown here?
madreJ [45]

Answer:

soccer tournament youth league

6 0
4 years ago
Read 2 more answers
Other questions:
  • what injection practices are part of Standard Precautions and are aimed at maintaining basic levels of patient safety and health
    13·1 answer
  • Client/server networks are controlled by a central server that runs a specialized piece of software called
    8·1 answer
  • After a file downloads, you can do any of the following except
    13·1 answer
  • Reserve space in memory for a variable called UIN of size word. The initial value of UIN will be the sum of the digits in your U
    6·1 answer
  • A user logging on, an application server connecting to a database server, an authentication server rejecting a password, or an a
    12·1 answer
  • If the point (9, 5) is translated 6 units left and 5 units up, then find the
    10·1 answer
  • Do you need special software to create a web page?
    6·2 answers
  • The two roots of a quadratic equation ax^2 + bx + c = 0 can be obtained using the following formula:
    15·1 answer
  • Match the definition
    14·1 answer
  • PLEASE HELP
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!