

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code? (Initial values: p= 10, q = 12)#include <stdio.h> void main() { float p; int q; printf("Enter two numbers: ", p); scanf("%f %f", &p, &q); printf("%f, %d", p, q); } |
A. | 10.000000, 12 |
B. | 12, 10.000000 |
C. | 12, Garbage value |
D. | Garbage value, 10.000000 |
E. | 10.000000, Garbage value |
Answer» F. | |