Following are the code to input string value in C Language.
Program Explanation:
- Defining header file.
- Defining the main method.
- Inside the method, two char array "lname, fname" is declared, which inputs value from the user-end.
- After input value, a print method is declared that prints the last name with "," and first name.
Program:
#include <stdio.h>//header file
int main()//defining main method
{
char lname[15],fname[15];//defining two char array
scanf("%s%s",fname, lname);//use input method that takes string value in it
printf("%s , %s",lname,fname);//use print method that prints string value
return 0;
}
Output:
Please find the attached file.
Learn more:
brainly.com/question/14436979
Answer:
Explanation:
BEGIN
DEFINE n,tmp, tmp1 type Integer
n = 0
DISPLAY "Enter a number"
INPUT n
tmp = n + 4
tmp = tmp * 3
tmp = tmp + n
tmp1 = tmp / 2
tmp = tmp1 + 4
tmp = tmp / 2
tmp = tmp - n
DISPLAY tmp
END
Application Software and Types of Application Software
Word processors.
Graphics software.
Database software.
Spreadsheet software.
Presentation software.
Answer: Rootkit
Explanation: Rootkit is the software that helps in carrying out malicious attack by giving the permission to unauthorized user for accessing the system. This software comes with numerous tools for attacking the restricted and confidential information and resources of the system such as password stealers, key-loggers , antivirus disabling tool etc.
Network defender can lose trust when rootkit software gets into the operating system because it gives complete control for privileged accessing the system to the attacker .The detection and elimination of rootkit is also a difficult task.
Other options are incorrect because worm is malware that copies and spreads from one computer system to other. Trojan provides the unauthorized access of attacker in the system and can infect system but cannot be highly harmful as rootkit. Exploit is a code that enters the system to provide access to cyber-criminals but it can be detected .
Thus ,the correct option is rootkit.