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
Why is c so popular?
Explain union.
What is the difference between array and structure in c?
What is calloc in c?
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
Explain high-order and low-order bytes.
c program for searching a student details among 10 student details
What are structure types in C?
What are the different types of control structures?
Is stack a keyword in c?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
What is getch() function?
What is a 'null pointer assignment' error?
Is there a way to switch on strings?
What are the types of assignment statements?