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 / sundar
the output is
a=100n(*p)=101n
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the method to save data in stack data structure type?
Tell me what are bitwise shift operators?
please explain every phase in the "SDLC" in the dotnet.
Explain what are reserved words?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
How can I pad a string to a known length?
Write program to remove duplicate in an array?
Explain how to reverse singly link list.
What is the difference between far and near in c?
Explain what is the difference between a free-standing and a hosted environment?
can any one provide me the notes of data structure for ignou cs-62 paper
What is sizeof int in c?
What is structure of c program?
What is main function in c?
Write a program to print “hello world” without using semicolon?