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 / y hussain reddy
101 ,101
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the properties of union.
Is c is a high level language?
What is a memory leak? How to avoid it?
What is the use of gets and puts?
write a program for the normal snake games find in most of the mobiles.
What is switch in c?
Explain what does the function toupper() do?
Is it better to use a macro or a function?
What is strcmp in c?
Explain the use of fflush() function?
Is multithreading possible in c?
Tell me with an example the self-referential structure?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Why is c so popular?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc