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
What is the difference between break and continue?
Explain what are its uses in c programming?
What is a wrapper function in c?
What should malloc(0) do?
what is the function of pragma directive in c?
Why doesnt this code work?
how to count no of words,characters,lines in a paragraph.
Can math operations be performed on a void pointer?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What type of function is main ()?
Explain what are reserved words?
explain what is a newline escape sequence?
What are the functions to open and close file in c language?
pierrot's divisor program using c or c++ code
Why is c so powerful?