R
Q. Pick the best statement for the following C program snippet:
#include <stdio.h> int main() { int var; /*Suppose address of var is 2000 */ void *ptr = &var; *ptr = 5; printf("var=%d and *ptr=%d",var,*ptr); return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Choose a correct statement about C language arrays.
Q. What is ptr in the given statement?
Q. A pointer variable of type _______ cannot be dereferenced
Q. The standard header _______ is used for variable list arguments (…) in C.
Q. Choose a correct statement about C Language Functions.
Q. Can a loop be nested in C programming?
Q. What is the output of C Program.?
Q. What is the output of C program?
Q. What is the output of C Program with switch statement or block?
Discusssion
Login to discuss.