C Programming :: Pointers - Discussion
Home > C Programming > Pointers > MCQs Questions Discussion
25 / 60
What is the output of the following 'C' program ?
#include <stdio.h>
int main()
{
int a = 10,*j;
void *k;
j = &a;
k = &a;
*j++;
printf("%d",*j);
printf("%d" ,*k);
}
#include <stdio.h>
int main()
{
int a = 10,*j;
void *k;
j = &a;
k = &a;
*j++;
printf("%d",*j);
printf("%d" ,*k);
}
A10 10
B10 0
CCompilation error: invalid use of void expression
DNone of these
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!