Please answer throughly, it is only multiple choice questions. I do not need exp
ID: 3577320 • Letter: P
Question
Please answer throughly, it is only multiple choice questions. I do not need explaniations. If you do not know an answer, please do not answer it.
l point Consider the following code snippet. What will be the output? 1 typedef enum thot cold) Coffee The variable 3 int main (void) "myCoffee" is n ee myCo e e 5 myCo ee FFF initialized 6 if (my coffee 1) 7 printf ("I am having cold coffee Ins 8 else 9 printf ("I am not having cold coffee In") 10 11 return 0 12 A. I am having cold coffee B. This code would not compile C. No output D. I am not having cold coffeeExplanation / Answer
1.
B. This code would not compile
2.
A. Segmentation fault
3.
C. It returs a pointer to a stack
4.
C. -9 167 255
5.
A. Pointer to the first element of the array is pased
6.
A. *x = 33;
7.
D. double *a = (double *)malloc(sizeof(double)*10);
8.
C. A garbage value
9.
A. Integers