<u>If statements</u>- This statement is used to check the condition.
if(condition)
{
statement
}
If the condition is true,then statement will run,else not.
<u>Switch statement</u>-This statement is used for long conditions.It is a substitute for if,else conditions
switch(a)
{
case1: statement 1//if a=1
break;
case2: statement 2 //if a=2
break;
.....
default:statement//if a is not equal to any of the cases.
<u>Multiway if</u>-In this statement ,if elseif and else were there.
if(condition1)
{
statement 1
}
elseif(condition2)
{
statement 2
}
..............
else
{
statement n
}
<u>Nested loops</u>-This statements are used when we use if-else conditions in other if,else conditions.
if(condition 1)
{
if(condition 2)
{
if (condition 3)
{
statement 3
}
else
{
statement 4
}
}
]
<u>rand()</u>-This method is used for generating random number.The expression is
number=rand()%50;
It will generate a random number ranges between 0 to 50.
<u>srand()</u>-This method is used to set the starting value for random number series.
srand (time(NULL));
<u>seed()</u>-It is a method for initializing the same random series,it is passed in srand().
Answer:
dObject will have 2 (two) instance variables.
Explanation:
B, double click the mouse. I know that because I'm using a computer right now and I tested it in order to answer this question.
Answer:
The fastest way to obtain the revocation status of digital certificate of the website is by using Online certificate Status Protocol (OSCP).
Explanation:
Online certificate status protocol is the protocol that help user to check and verify the digital certificate revocation status. This protocol is linked with the digital certificate issuance authority. Whenever someone want to verify the status of the digital certificate that is attached to access the website. The website administrator can send the request to OSCP handler to ensure the status of the certificate. The OSCP handler is connected through certificate issuance authority, send the detail to verify the status. After verifying the status, OSCP handler respond as certificate is valid or revoked to the concerned user.