Answer:
#include <stdio.h>
typedef struct InventoryTag_struct {
int itemID;
int quantityRemaining;
} InventoryTag;
int main(void) {
InventoryTag redSweater;
redSweater.itemID = 314;
redSweater.quantityRemaining = 500;
/* Your solution goes here */
printf("Inventory ID: %d, Qty: %d\n",redSweater.itemID,redSweater.quantityRemaining);
getchar();
return 0;
}
Explanation:
Answer:
Backdoor
Explanation:
The back door fragment in a program allows user to access backdoor information without necessarily following the common security procedures needed. In this case, once the programmer keys in the username he or she logs in without putting password. Therefore, this is a backdoor fragment.