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 / hima bindu sudhani
The answer is A)100, 101
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is structure of c program?
Is c easy to learn?
What is the default value of local and global variables in c?
Why cant I open a file by its explicit path?
Explain the concept and use of type void.
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
Explain the binary height balanced tree?
What is the most efficient way to count the number of bits which are set in an integer?
Explain what is meant by 'bit masking'?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
find out largest elemant of diagonalmatrix
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
Can the size of an array be declared at runtime?
What is const volatile variable in c?