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 / jitendra kumar arya
(d),because n treat as a chracter.
ans is 100n ,101n
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
differentiate built-in functions and user – defined functions.
How can type-insensitive macros be created?
How can I sort more data than will fit in memory?
Difference between Shallow copy and Deep copy?
What is equivalent to ++i+++j?
How can I manipulate individual bits?
What is %s and %d in c?
What is a char in c?
Explain what is the heap?
When is a void pointer used?
What is the advantage of an array over individual variables?
please explain every phase in the "SDLC" in the dotnet.
Is c compiled or interpreted?
Can a variable be both const and volatile?
Explain how do you view the path?