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
What is volatile variable how do you declare it?
int far *near * p; means
Explain the use of bit fieild.
Suggesting that there can be 62 seconds in a minute?
What the different types of arrays in c?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is #line in c?
What language is windows 1.0 written?
ATM machine and railway reservation class/object diagram
Why static is used in c?
Write a code to generate a series where the next element is the sum of last k terms.
I have seen function declarations that look like this
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
Why is c not oop?