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
What are header files in c programming?
Is c still used?
Here is a neat trick for checking whether two strings are equal
What are header files in c?
What do you mean by dynamic memory allocation in c?
Explain what is the difference between far and near ?
what are bit fields in c?
Explain how to reverse singly link list.
What are called c variables?
What is a constant?
Is register a keyword in c?
Explain how can a program be made to print the line number where an error occurs?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
What is union and structure in c?
What are the 32 keywords in c?