It is a class C address. Class C covers all addresses in the range 192.0.0.0 to 223.0.0.0. The /24 represents the number of network bits in the address so we can work out that the subnet mask of this address would be 255.255.255.0.
Here is a Python program:
tmp = input().split(' ')
c = tmp[0]; s = tmp[1]
ans=0
for i in range(len(s)):
if s[i] == c: ans+=1
# the ans variable stores the number of occurrences
print(ans)
Explanation:
I don't know it's some time good and some times bad
Answer: It’s not soft skills
Explanation: My test did not tell me what the answer is
Answer:
Explanation:
The code for the given problem is written below
.data
A : .word 1 2 3 4 5 6 7 8 9 10
.text
la $s5,A
li $s1,0 # load g
li $s2,10 # load h
li $s3,0 # load i
li $s4,1 # load j
loop:
mul $s6,$s3,4
add $s6,$s6,$s5 #address of A[i]
lw $s6,($s6) #get value of A[i] in s3
add $s1,$s1,$s6 #g = g+A[i]
add $s3,$s3,$s4 # i = i+j
bne $s3,$s2,loop #if i!=h jump to loop