Answer:
<link rel="stylesheet" href="exam.css">
Explanation:
href is the file name assuming its in the same path
also get an extension called grepper, it helps debug a lot quicker
Answer: OSI system is called Open System Interconnection because It provides the collection of protocols for the connection of different system to connect with any dependence on any other system or network.
Explanation: Open system interconnection establishes a connection between the different system for the communication purpose using several protocols and software standards .It has no dependency or any network or other system to do the functioning and works using the seven layers of the OSI architecture.Thus, that is why OSI system known as open system.
Answer:
// here is statement in C++ to declare and initialize an array.
int denominations[]={1, 5, 10, 25, 50, 100};
Explanation:
In C++, an array can be declare and initialize in a single statement.Syntax to declare and initialize an array in C++ is type <type> <name>[]={val1,vale2...valn}. Here first literal is type of array and second is name of the array.And in the {} braces value of the array.In the above statement type is integer and name of the array is "denominations" and the values are 1,5,10,25,50,100.
//here is implementation in C++.
// include headers
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// declare and initialize array
int denominations[]={1, 5, 10, 25, 50, 100};
return 0;
}
Answer:
7
Explanation:
Given that :
Byte-addressable memory = 4096
Order = 32
Rwqritying such that they have the same base ;
4096 = 2^12
32 = 2^5
2^12 - 2^5
12 - 5 = 7
Answer:
See Explaination
Explanation:
#include <iostream>
#include <string.h>
using namespace std;
char *mixem(char *s1, char *s2);
int main() {
cout << mixem("abc", "123") << endl;
cout << mixem("def", "456") << endl;
return 0;
}
char *mixem(char *s1, char *s2) {
char *result = new char[1 + strlen(s1) + strlen(s2)];
char *p1 = s1;
char *p2 = s2;
char *p = result;
while (*p1 || *p2) {
if (*p1) {
*p = *p1;
p1++;
p++;
}
if (*p2) {
*p = *p2;
p2++;
p++;
}
}
*p = '\0';
return result;
}