Select the correct option to test your answer:
Computer
Arrays And Strings
Difficulty: Medium
What will be the output of the following C code? char str1[15]; char str2[15]; int mat; strcpy(str1, "abcdef"); strcpy(str2, "ABCDEF"); mat= strncmp(str1, str2, 4); if(mat< 0) printf("str1 is not greater than str2"); else if(mat> 0) printf("str2 is is not greater than str1"); else printf("both are equal");
More Computer Questions
What does 3 ^ 4 evaluate to?
Which of the following are advantages of using NAT? 1. Translation introduces switching path delays. 2. Conserves legally registered addresses. 3. Causes loss of end-to-end IP traceability. 4. Increases flexibility when connecting to the Internet. 5. Certain applications will not function with NAT enabled. 6. Reduces address overlap occurrence.
What is the purpose of the remove() method for lists and tuples?
You have a network ID of 134.57.0.0 with 8 subnets. You need to allow the largest possible number of host IDs per subnet. Which subnet mask should you assign?
What should be the return type of rand() function?