Direction: Consider the following C code segment:
int a, b, c = 0;
void prtFun (void);
main ()
{static int a = 1; /* Line 1 */
prtFun ();
a + = 1;
prt Fun ();
printf (“\n %d %d”, a, b);
}
void prt Fun (void)
{ static int a = 2;
int b = 1;
a + = + + b;
}
printf (“\n %d” %d”, a, b);
-
Which of the following transport layer protocols is used to support electronic mail?
-
- SMTP
- IP
- TCP
- UD
- SMTP
Correct Option: C
E-mail uses SMTP (Simple Mail Transfer Protocol) in application layer to transfer mails and SMTP uses TCP (Transport Control Protocol) to transfer data in transport layer.