Answer:
Check the explanation
Explanation:
#include<stdio.h>
/*Function to return max sum such that no two elements
are adjacent */
int FindMaxSum(int arr[], int n)
{
int incl = arr[0];
int excl = 0;
int excl_new;
int i;
for (i = 1; i < n; i++)
{
/* current max excluding i */
excl_new = (incl > excl)? incl: excl;
/* current max including i */
incl = excl + arr[i];
excl = excl_new;
}
/* return max of incl and excl */
return ((incl > excl)? incl : excl);
}
/* Driver program to test above function */
int main()
{
int arr[] = {5, 5, 10, 100, 10, 5};
printf("%d \n", FindMaxSum(arr, 6));
getchar();
return 0;
}
Answer:
The correct answer to the following question will be "Molex connector".
Explanation:
The Molex connector can be used for power connections on some kind of device for just a disk drive as well as many other electronic devices including CD-ROMs, display chips, etc.
- Inside a PC shell, the Molex connectors carry DC power to a device.
- Most providers offer accessible connections, not only the Molex as well as AMP connectors.
So, it's the right answer.
Answer: A is the correct choice.
<h2>"<lastmod>" is the right choice for the given scenario</h2>
Explanation:
<update> This tag does not belong to <URL> tag of the site map. Hence this option goes invalid.
<lastmod> This gives details of the date and time when the website content was changed. It will be in "W3C Date time format". This may omit time at times. This is the write answer.
<loc> This contains the URL of the web page.
<changefreq>: How frequently the "web page is likely to get modified". The values which it accepts are: "monthly, always
, daily
, weekly
,hourly, yearly
, never"