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
Explanation:
The primary difference between AngularJS and ReactJS lies in the state of its management. AngularJS has data binding bundled in by default, whereas React is generally augmented by Redux to give unidirectional data flow and work with immutable data. Mark Brainliest
I’m not sure it’s about number of questions, I think it’s based off of rank. Good luck though! I’m happy to answer any questions you have!