Answer Posted / ganesh
pointer variable is used to store the memory address of the another variable
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
write a c program for swapping two strings using pointer
Is array a primitive data type in c?
What are the general description for loop statement and available loop types in c?
What are the differences between new and malloc in C?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is abstract data structure 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]
Can a pointer be null?
Can true be a variable name in c?
Explain what is a const pointer?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
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
When a c file is executed there are many files that are automatically opened what are they files?
What's the difference between constant char *p and char * constant p?
Is a house a mass structure?