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 / manoj
B)100,100
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
How do you define a string?
What is this pointer in c plus plus?
explain what is an endless loop?
Can a pointer be static?
What is an array in c?
What are the string functions? List some string functions available in c.
Is c call by value?
What is preprocessor with example?
How can you convert integers to binary or hexadecimal?
What is pivot in c?
What is the use of function in c?
What is dynamic dispatch in c++?
What are the advantages of using new operator as compared to the function malloc ()?
How to get string length of given string in c?
What does the format %10.2 mean when included in a printf statement?