study the code:
#include<stdio.h>
void main()
{
const int a=100;
int *p;
p=&a;
(*p)++;
printf("a=%dn(*p)=%dn",a,*p);
}
What is printed?
A)100,101 B)100,100 C)101,101 D)None of the
above
Answer Posted / divakar
ouput will be c)a=101 (*p)=101
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Is file a keyword in c?
Explain how can I open a file so that other programs can update it at the same time?
how to build a exercise findig min number of e heap with list imlemented?
What is a structural principle?
Is flag a keyword in c?
What is the purpose of the preprocessor directive error?
Does free set pointer to null?
What does c mean in basketball?
What’s a signal? Explain what do I use signals for?
What is the use of ?: Operator?
Who developed c language and when?
What is a keyword?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What is auto keyword in c?