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

a=101n(*p)=101n

answer c)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c so popular?

656


Explain union.

641


What is the difference between array and structure in c?

575


What is calloc in c?

668


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

3850






Explain high-order and low-order bytes.

671


c program for searching a student details among 10 student details

1664


What are structure types in C?

679


What are the different types of control structures?

592


Is stack a keyword in c?

640


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

585


What is getch() function?

659


What is a 'null pointer assignment' error?

731


Is there a way to switch on strings?

623


What are the types of assignment statements?

635