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 / guest

D)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the memory area not included in C program? give the reason

1510


What are linked lists in c?

653


What are register variables in c?

582


What is assignment operator?

630


What is a lvalue

668






please give me some tips for the placement in the TCS.

1641


Which built-in library function can be used to match a patter from the string?

752


Why do we use stdio h and conio h?

645


What is the use of pointers in C?

628


What are the different types of errors?

648


Why do we use int main?

618


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

659


What is the default value of local and global variables in c?

563


Explain how do you convert strings to numbers in c?

598


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5468