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 / biranchi ranjan parida
none of the above
pointer value of address increases it cant store its
original value
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is a function in c?
Why do we need volatile in c?
In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]
Differentiate call by value and call by reference?
How to set file pointer to beginning c?
What is the difference between strcpy() and memcpy() function in c programming?
What is scanf_s in c?
What is difference between structure and union in c?
What is integer constants?
What is the function of multilevel pointer in c?
I need testPalindrome and removeSpace
#include
What are actual arguments?
Can one function call another?
What is the use of #include in c?
Here is a good puzzle: how do you write a program which produces its own source code as output?