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 is break in c?
What is the difference between Printf(..) and sprint(...) ?
Can we change the value of static variable in c?
Why c language is called c?
Explain how do you search data in a data file using random access method?
how to write optimum code to divide a 50 digit number with a 25 digit number??
Is javascript written in c?
What is a scope resolution operator in c?
Is null a keyword in c?
What is static function in c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Can we assign string to char pointer?
which type of aspect you want from the student.
Explain how can I manipulate strings of multibyte characters?
What does d mean?