Answer:
#include <stdio.h>
void interchangeCase(char phrase[],char c){
for(int i=0;phrase[i]!='\0';i++){
if(phrase[i]==c){
if(phrase[i]>='A' && phrase[i]<='Z')
phrase[i]+=32;
else
phrase[i]-=32;
}
}
}
int main(){
char c1[]="Eevee";
interchangeCase(c1,'e');
printf("%s\n",c1);
char c2[]="Eevee";
interchangeCase(c2,'E');
printf("%s\n",c2);
}
Explanation:
- Create a function called interchangeCase that takes the phrase and c as parameters.
- Run a for loop that runs until the end of phrase and check whether the selected character is found or not using an if statement.
- If the character is upper-case alphabet, change it to lower-case alphabet and otherwise do the vice versa.
- Inside the main function, test the program and display the results.
Answer:
1010 0111 1101 1111
Explanation:
A = 10 in decimal = 1010 in binary
7 = 7 in decimal = 0111 in binary
D = 13 in decimal = 1101 in binary
F = 15 in decimal = 1111 in binary
Therefore 0xA7DF = 1010 0111 1101 1111 in binary
A virus or malware appearing/pretending to be a legitimate program is called a Trojan.
Depending on the type of keyboard, all spacebars are at the bottom middle of your keyboard and is the largest part of the keyboard.
Answer:
You are explaining a virtual server
I hope this is correct.
Explanation:
A virtual platform is a software based system that can fully mirror the functionality of the platform, it provides full visibility
A virtual server, on the other hand converts one physical server into multiple virtual machines that can each run their own operating system, it is hosted by a offsite dsta center