Answer:
Since the question expect us to declare a C-string, the solution code is written in C as follows:
- char ssn[9];
- scanf("%s",ssn);
Explanation:
A C-String is a string written in C language. It is an array of characters. To declare a C-string, we use the keyword, <em>char </em>and then followed with the variable name + brackets and the number of characters in the string. For example, we can create a C-String for the SSN number as in Line 1.
To read standard input into the array, we can use C built-in function, <em>scanf(). </em>Just include a string placeholder, %s, and the variable<em> ssn </em>as arguments to <em>scanf()</em>. This will assign the string input by user to variable <em>ssn</em> as C-String.
This is true for most modern computers
Answer:
Computer is an example of electronic device.
Answer:
hope you like it
Explanation:
Two types of power supplies exist, DC-DC and AC-DC. DC-DC power supplies allow you to plug in electrical devices into car outlets or similar sources that supply direct current, or DC, power. These power supplies are not the most commonly used, though.
Classification of Power Supply and Its Different Types
OUTPUT = DC OUTPUT = AC
INPUT = AC Wall wart Bench power supplies Battery charger Isolation transformer Variable AC supply Frequency changer
INPUT = DC DC-DC converter Inverter Generator UPS