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 value is returned to operating system after program execution?
Whats s or c mean?
Why is this loop always executing once?
What does %2f mean in c?
How can I send mail from within a c program?
how we can make 3d venturing graphics on outer interface
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
program for reversing a selected line word by word when multiple lines are given without using strrev
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
What is 1d array in c?
What is default value of global variable in c?
How does normalization of huge pointer works?
What is the difference between pure virtual function and virtual function?
What are the 5 types of organizational structures?
State the difference between realloc and free.