Question: What is the output of this C program? Explain. #include int main(void) { char x = 100; double y = 3.1415926; char *p =
What is the output of this C program? Explain. #include int main(void) { char x = 100; double y = 3.1415926; char *p = &x; double *q=&y; printf("p is %d, q is %d.", sizeof(p), sizeof(q)); return 0;
Step by Step Solution
3.46 Rating (159 Votes )
There are 3 Steps involved in it
Answer The output of the given C program is p is 8 q is 8 Explanation char x 100 de... View full answer
Get step-by-step solutions from verified subject matter experts
